llvm-project/llvm/lib/Transforms
Max Kazantsev b9edcbcb1d Re-enable "[IndVars] Canonicalize comparisons between non-negative values and indvars"
The patch was reverted due to a bug. The bug was that if the IV is the 2nd operand of the icmp
instruction, then the "Pred" variable gets swapped and differs from the instruction's predicate.
In this patch we use the original predicate to do the transformation.

Also added a test case that exercises this situation.

Differentian Revision: https://reviews.llvm.org/D35107

llvm-svn: 307477
2017-07-08 17:17:30 +00:00
..
Coroutines Remove `inline` keyword from inline `classof` methods 2017-06-29 19:35:17 +00:00
Hello Add auto-exporting of symbols from tools so that plugins work on Windows 2016-05-26 11:16:43 +00:00
IPO Increase the import-threshold for crtical functions. 2017-07-07 21:01:00 +00:00
InstCombine [InstCombine] Make InstCombine's IRBuilder be passed by reference everywhere 2017-07-07 23:16:26 +00:00
Instrumentation Revert r307342, r307343. 2017-07-07 01:31:23 +00:00
ObjCARC Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
Scalar [InferAddressSpaces] Fix assertion about null pointer 2017-07-07 02:40:13 +00:00
Utils Re-enable "[IndVars] Canonicalize comparisons between non-negative values and indvars" 2017-07-08 17:17:30 +00:00
Vectorize [SLPVectorizer] Add an extra parameter to cancelScheduling function, NFCI. 2017-07-05 13:53:03 +00:00
CMakeLists.txt [coroutines] Part 3 of N: Adding Boilerplate for Coroutine Passes 2016-07-28 21:04:31 +00:00
LLVMBuild.txt [coroutines] Part 3 of N: Adding Boilerplate for Coroutine Passes 2016-07-28 21:04:31 +00:00