llvm-6502/test/CodeGen
Evan Cheng d40d03e1bd Teach dag combine to fold the following transformation more aggressively:
(OP (trunc x), (trunc y)) -> (trunc (OP x, y))

Unfortunately this simple change causes dag combine to infinite looping. The problem is the shrink demanded ops optimization tend to canonicalize expressions in the opposite manner. That is badness. This patch disable those optimizations in dag combine but instead it is done as a late pass in sdisel.

This also exposes some deficiencies in dag combine and x86 setcc / brcond lowering. Teach them to look pass ISD::TRUNCATE in various places.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92849 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-06 19:38:29 +00:00
..
Alpha Delete useless trailing semicolons. 2010-01-05 17:55:26 +00:00
ARM Delete useless trailing semicolons. 2010-01-05 17:55:26 +00:00
Blackfin Teach dag combine to fold the following transformation more aggressively: 2010-01-06 19:38:29 +00:00
CBackend
CellSPU Teach dag combine to fold the following transformation more aggressively: 2010-01-06 19:38:29 +00:00
CPP fix PR5295 where the .ll parser didn't reject a function after a global 2009-10-25 23:22:50 +00:00
Generic Delete useless trailing semicolons. 2010-01-05 17:55:26 +00:00
Mips Delete useless trailing semicolons. 2010-01-05 17:55:26 +00:00
MSP430 Delete useless trailing semicolons. 2010-01-05 17:55:26 +00:00
PIC16 Extern declaration for unordered.f32 libcall was not being emitted. Fixed that. 2009-12-29 03:24:34 +00:00
PowerPC Delete useless trailing semicolons. 2010-01-05 17:55:26 +00:00
SPARC Delete useless trailing semicolons. 2010-01-05 17:55:26 +00:00
SystemZ Teach dag combine to fold the following transformation more aggressively: 2010-01-06 19:38:29 +00:00
Thumb Add test case for the phi reuse patch. 2009-12-18 00:11:44 +00:00
Thumb2 Delete useless trailing semicolons. 2010-01-05 17:55:26 +00:00
X86 Teach dag combine to fold the following transformation more aggressively: 2010-01-06 19:38:29 +00:00
XCore Delete useless trailing semicolons. 2010-01-05 17:55:26 +00:00