llvm-6502/test/CodeGen/CellSPU
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
..
useful-harnesses
2009-01-01-BrCond.ll
and_ops.ll Revert this dag combine change: 2009-12-17 00:40:05 +00:00
call_indirect.ll Teach InferPtrAlignment to infer GV+cst alignment and use it to simplify x86 isl lowering code. 2009-12-09 01:53:58 +00:00
call.ll
ctpop.ll
dg.exp
dp_farith.ll Delete useless trailing semicolons. 2010-01-05 17:55:26 +00:00
eqv.ll
extract_elt.ll
fcmp32.ll
fcmp64.ll
fdiv.ll
fneg-fabs.ll
i8ops.ll
i64ops.ll
icmp8.ll
icmp16.ll
icmp32.ll
icmp64.ll
immed16.ll
immed32.ll
immed64.ll
int2fp.ll
intrinsics_branch.ll
intrinsics_float.ll
intrinsics_logical.ll
loads.ll
mul_ops.ll Teach dag combine to fold the following transformation more aggressively: 2010-01-06 19:38:29 +00:00
mul-with-overflow.ll
nand.ll
or_ops.ll
private.ll Delete useless trailing semicolons. 2010-01-05 17:55:26 +00:00
rotate_ops.ll
select_bits.ll
sext128.ll
shift_ops.ll
sp_farith.ll
stores.ll
struct_1.ll
trunc.ll
vec_const.ll
vecinsert.ll