Nadav Rotem
|
9582c96aef
|
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
|
c95df8b6d8
|
Use opt -S instead of piping bitcode output through llvm-dis.
llvm-svn: 81257
|
2009-09-08 22:34:10 +00:00 |
|
Dan Gohman
|
8d84372836
|
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
|
40db216722
|
Chris prefers icmp/select over udiv!
llvm-svn: 60187
|
2008-11-27 22:41:10 +00:00 |
|
Dan Gohman
|
27156711ef
|
Fix a mistake in the computation of leading zeros for udiv.
llvm-svn: 50591
|
2008-05-02 21:30:02 +00:00 |
|