[PATCH] Allow ScalarEvolution to catch more min/max cases
doerfert at cs.uni-saarland.de
Mon Feb 2 05:17:31 PST 2015
Hi sunfish, atrick, bkramer,
For the test case attached different types are used in the ICmpInst
and SelectInst that represent the min/max expressions. However, if the
ICmpInst type is smaller a comparison with the sign/zero extended
operands would have yielded the same result. This situation might arise after
the instruction combination pass was applied.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8131 bytes
Desc: not available
More information about the llvm-commits