Manman Ren 967804ad0a X86: enable CSE between CMP and SUB
We perform the following:
1> Use SUB instead of CMP for i8,i16,i32 and i64 in ISel lowering.
2> Modify MachineCSE to correctly handle implicit defs.
3> Convert SUB back to CMP if possible at peephole.

Removed pattern matching of (a>b) ? (a-b):0 and like, since they are handled
by peephole now.

rdar://11873276

llvm-svn: 161462
2012-08-08 00:51:41 +00:00
..
2012-07-18 17:53:05 +00:00
2012-05-28 21:48:37 +00:00
2012-08-08 00:51:41 +00:00
2012-06-13 17:59:12 +00:00