aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-07-02 06:42:13 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-07-02 06:42:13 +0000
commitf28e2a4282c586ab41f39c177ca9bebc9244c53f (patch)
tree1a69867fb73c64ada122852a375d355c7705e60d /llvm/lib/CodeGen/MachineBasicBlock.cpp
parentc1bedac3bdeadec448266cf372c2437e8e3692b8 (diff)
downloadllvm-f28e2a4282c586ab41f39c177ca9bebc9244c53f.zip
llvm-f28e2a4282c586ab41f39c177ca9bebc9244c53f.tar.gz
llvm-f28e2a4282c586ab41f39c177ca9bebc9244c53f.tar.bz2
InstCombine: Optimize x/INT_MIN to x==INT_MIN
The result of x/INT_MIN is either 0 or 1, we can just use an icmp instead. llvm-svn: 212167
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions