aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/GVN/pre-compare.ll
Commit message (Collapse)AuthorAgeFilesLines
* Don't PRE compares.Jakob Stoklund Olesen2012-03-291-0/+68
CodeGenPrepare sinks compare instructions down to their uses to prevent live flags and predicate registers across basic blocks. PRE of a compare instruction prevents that, forcing the i1 compare result into a general purpose register. That is usually more expensive than the redundant compare PRE was trying to eliminate in the first place. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153657 91177308-0d34-0410-b5e6-96231b3b80d8