diff options
| author | Duncan Sands <baldrick@free.fr> | 2011-01-25 09:38:29 +0000 |
|---|---|---|
| committer | Duncan Sands <baldrick@free.fr> | 2011-01-25 09:38:29 +0000 |
| commit | d3951083940461624d457978a0807f31f4ee02c8 (patch) | |
| tree | 91833b13718194070ec0b236932f126cfb009a08 /llvm/lib/Analysis/AliasDebugger.cpp | |
| parent | f1cec164ce51eb393afdf8d7e0cc7fd1605c41a6 (diff) | |
| download | bcm5719-llvm-d3951083940461624d457978a0807f31f4ee02c8.tar.gz bcm5719-llvm-d3951083940461624d457978a0807f31f4ee02c8.zip | |
According to my auto-simplifier the most common missed simplifications in
optimized code are:
(non-negative number)+(power-of-two) != 0 -> true
and
(x | 1) != 0 -> true
Instcombine knows about the second one of course, but only does it if X|1
has only one use. These fire thousands of times in the testsuite.
llvm-svn: 124183
Diffstat (limited to 'llvm/lib/Analysis/AliasDebugger.cpp')
0 files changed, 0 insertions, 0 deletions

