support LLVM trunk after 203559 203213 and 203381 revisions
Merge pull request #764 from ifilippov/max_min

Support LLVM trunk after 203559 203213 and 203381 revisions