| commit | 11935b29f3c84e28e35aa10dc3d839eee2ebe81a | [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 | 4824259ac8609d121155f8ab3e457f04bd24bfc6 | |
| parent | 384de7c9c98aa3dfe2211c9d423a8f171f43d287 [diff] |
Teach InstCombine to canonicalize [SU]div+[AL]shl patterns. For example: %1 = lshr i32 %x, 2 %2 = udiv i32 %1, 100 rdar://12182093 llvm-svn: 162743