summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Generic/add-with-overflow.ll
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2011-01-14 15:26:10 +0000
committerDuncan Sands <baldrick@free.fr>2011-01-14 15:26:10 +0000
commitd6f1a9584d72d11e652adc34fc9f5d911eee8e8c (patch)
treef859e4dab89d939437f97f2c62d9679ab1c3a5fc /llvm/test/CodeGen/Generic/add-with-overflow.ll
parent571fd9a60652c793c8bdcd7163cd8ee207dc2a84 (diff)
downloadbcm5719-llvm-d6f1a9584d72d11e652adc34fc9f5d911eee8e8c.tar.gz
bcm5719-llvm-d6f1a9584d72d11e652adc34fc9f5d911eee8e8c.zip
Turn X-(X-Y) into Y. According to my auto-simplifier this is the most common
simplification present in fully optimized code (I think instcombine fails to transform some of these when "X-Y" has more than one use). Fires here and there all over the test-suite, for example it eliminates 8 subtractions in the final IR for 445.gobmk, 2 subs in 447.dealII, 2 in paq8p etc. llvm-svn: 123442
Diffstat (limited to 'llvm/test/CodeGen/Generic/add-with-overflow.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud