aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2011-01-13 08:56:29 +0000
committerDuncan Sands <baldrick@free.fr>2011-01-13 08:56:29 +0000
commit8d25a7c3a01639636bde0ff17f2d8962010cfd29 (patch)
tree352c915bffcf3b35ab2b45f00256e3f5fd2efccb /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent92adcac9ec01e0751db8d775b12ece52625b8804 (diff)
downloadllvm-8d25a7c3a01639636bde0ff17f2d8962010cfd29.zip
llvm-8d25a7c3a01639636bde0ff17f2d8962010cfd29.tar.gz
llvm-8d25a7c3a01639636bde0ff17f2d8962010cfd29.tar.bz2
The most common simplification missed by instsimplify in unoptimized bitcode
is "X != 0 -> X" when X is a boolean. This occurs a lot because of the way llvm-gcc converts gcc's conditional expressions. Add this, and a few other similar transforms for completeness. llvm-svn: 123372
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions