This gets rid of a sub instruction by moving the negation to the
constant when valid.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D3773
InstCombine: Optimize -x s< cst ClosedPublic Authored by majnemer on May 14 2014, 4:42 PM.
Details Summary This gets rid of a sub instruction by moving the negation to the
Diff Detail
Revision Contents
Diff 9563 llvm/trunk/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/trunk/test/Transforms/InstCombine/icmp.ll
|