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 | d70d1a5c44609af091f6fc3e29193f9f4756a74f (patch) | |
tree | f55820e9c5f1f0b21e9ac628664a25dbd6bcbc1e /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | b38824f866447ccf8dd0c76656755b05bcede1b1 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124183 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions