diff options
author | Arnaud A. de Grandmaison <arnaud.adegm@gmail.com> | 2013-03-25 09:48:49 +0000 |
---|---|---|
committer | Arnaud A. de Grandmaison <arnaud.adegm@gmail.com> | 2013-03-25 09:48:49 +0000 |
commit | 35763b1ee700cd29f057494a35095f06d983fe6e (patch) | |
tree | 542a5882930e075017f43d72e71cd6c95a7726c8 /autoconf | |
parent | f0a15d88afce23453ff55894400035014ad46a15 (diff) |
InstCombine: simplify comparisons to zero of (shl %x, Cst) or (mul %x, Cst)
This simplification happens at 2 places :
- using the nsw attribute when the shl / mul is used by a sign test
- when the shl / mul is compared for (in)equality to zero
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177856 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
0 files changed, 0 insertions, 0 deletions