commit | 0f77ccd6bbe35543153dcd97a10fe552a5077e8d | [log] [tgz] |
---|---|---|
author | David Majnemer <david.majnemer@gmail.com> | Wed Dec 31 04:21:41 2014 +0000 |
committer | David Majnemer <david.majnemer@gmail.com> | Wed Dec 31 04:21:41 2014 +0000 |
tree | a6ada73e6fdf72de9e23da3daf986c8ec65e4bbd | |
parent | c0319dd9c254d0854c94f407e3eefec57922880d [diff] |
InstCombine: try to transform A-B < 0 into A < B We are allowed to move the 'B' to the right hand side if we an prove there is no signed overflow and if the comparison itself is signed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225034 91177308-0d34-0410-b5e6-96231b3b80d8