aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/LCSSA/2006-06-03-IncorrectIDFPhis.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-03-15 05:13:13 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-03-15 05:13:13 +0000
commitd158fba3e45547f013bbab4c0ac640f31b5e341f (patch)
tree4d17e2c074387dfc8b8eb7ae78759f49103cbcce /test/Transforms/LCSSA/2006-06-03-IncorrectIDFPhis.ll
parent0f040a258ff6a2372fc232212b5e4189e8e7185d (diff)
downloadexternal_llvm-d158fba3e45547f013bbab4c0ac640f31b5e341f.zip
external_llvm-d158fba3e45547f013bbab4c0ac640f31b5e341f.tar.gz
external_llvm-d158fba3e45547f013bbab4c0ac640f31b5e341f.tar.bz2
Add a peephole optimization to optimize pairs of bitcasts. e.g.
v2 = bitcast v1 ... v3 = bitcast v2 ... = v3 => v2 = bitcast v1 ... = v1 if v1 and v3 are of in the same register class. bitcast between i32 and fp (and others) are often not nops since they are in different register classes. These bitcast instructions are often left because they are in different basic blocks and cannot be eliminated by dag combine. rdar://9104514 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127668 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LCSSA/2006-06-03-IncorrectIDFPhis.ll')
0 files changed, 0 insertions, 0 deletions