commit | 9753f0b9b4ab33919c5010acb6a7b2dc1e875aff | [log] [tgz] |
---|---|---|
author | Nadav Rotem <nrotem@apple.com> | Tue Aug 28 10:01:43 2012 +0000 |
committer | Nadav Rotem <nrotem@apple.com> | Tue Aug 28 10:01:43 2012 +0000 |
tree | 1b51cc99811cc851fded60ed5ec0f232f06b2929 | |
parent | eeba6e83175d7835f3648c30a44c2ca12116d40b [diff] |
Teach InstCombine to canonicalize [SU]div+[AL]shl patterns. For example: %1 = lshr i32 %x, 2 %2 = udiv i32 %1, 100 rdar://12182093 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162743 91177308-0d34-0410-b5e6-96231b3b80d8