Codegen: Enable the detection of min/max expressions
commit0a51fac214268c3c1faf2d53e2870f1931015e22
authorTobias Grosser <tobias@grosser.es>
Sat, 7 May 2016 08:03:44 +0000 (7 08:03 +0000)
committerTobias Grosser <tobias@grosser.es>
Sat, 7 May 2016 08:03:44 +0000 (7 08:03 +0000)
tree1cac08b23f5480923f0ad745e88ec56998c73ca0
parentaa050bddf160d808e359f0200d5d63df19764753
Codegen: Enable the detection of min/max expressions

Min/max expressions are easier to read and can in some cases also result in
more concise IR that is generated as the min/max --- when lowered to a
cmp+select pattern -- commonly has a simpler condition then the ternary
condition isl would normally generate.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@268855 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/IslAst.cpp
test/Isl/Ast/aliasing_parametric_simple_2.ll
test/Isl/Ast/dependence_distance_parametric.ll
test/Isl/Ast/dependence_distance_parametric_expr.ll
test/Isl/CodeGen/aliasing_parametric_simple_2.ll