summaryrefslogtreecommitdiff
path: root/llvm/test/Transforms/JumpThreading/thread-cmp.ll
AgeCommit message (Collapse)Author
2022-11-27JumpThreading: Convert tests to -passesMatt Arsenault
2022-11-27JumpThreading: Convert tests to opaque pointersMatt Arsenault
phi-known.ll:test2 required deleting one manual check for a bitcast Also strip trailing whitespace while we're touching everything.
2019-04-17Revert "Temporarily Revert "Add basic loop fusion pass.""Eric Christopher
The reversion apparently deleted the test/Transforms directory. Will be re-reverting again. llvm-svn: 358552
2019-04-17Temporarily Revert "Add basic loop fusion pass."Eric Christopher
As it's causing some bot failures (and per request from kbarton). This reverts commit r358543/ab70da07286e618016e78247e4a24fcb84077fda. llvm-svn: 358546
2015-05-07[JumpThreading] Simplify comparisons when simplifying branchesPhilip Reames
If we have recognized that a conditional is constant at a particular location in the code (while trying to decide if we can simplify a conditional branch), we can eagerly replace that condition with a constant if it's definition is post dominated by the branch in question. In practice, this ends up being a compile time savings at most. JumpThreading would have visited each using branch anyways. CVP would have visited the cmp itself again. Unless LVI gives up early, we shouldn't gain any addition power by doing this transformation early. What we do gain is simplicity and compile time. Differential Revision: http://reviews.llvm.org/D9312 llvm-svn: 236684