Nadav Rotem
|
11935b29f3
|
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
|
2012-08-28 10:01:43 +00:00 |
Dan Gohman
|
72a13d2476
|
Use opt -S instead of piping bitcode output through llvm-dis.
llvm-svn: 81257
|
2009-09-08 22:34:10 +00:00 |
Dan Gohman
|
9737a63ed8
|
Change these tests to feed the assembly files to opt directly, instead
of using llvm-as, now that opt supports this.
llvm-svn: 81226
|
2009-09-08 16:50:01 +00:00 |
Nick Lewycky
|
4ab50b93c8
|
Chris prefers icmp/select over udiv!
llvm-svn: 60187
|
2008-11-27 22:41:10 +00:00 |
Dan Gohman
|
1962c2be6a
|
Fix a mistake in the computation of leading zeros for udiv.
llvm-svn: 50591
|
2008-05-02 21:30:02 +00:00 |