llvm-6502/test/CodeGen/SystemZ
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
..
00-RetVoid.ll
01-RetArg.ll
01-RetImm.ll
02-MemArith.ll
02-RetAdd.ll
02-RetAddImm.ll
02-RetAnd.ll
02-RetAndImm.ll
02-RetNeg.ll
02-RetOr.ll
02-RetOrImm.ll
02-RetSub.ll
02-RetSubImm.ll
02-RetXor.ll
02-RetXorImm.ll
03-RetAddImmSubreg.ll
03-RetAddSubreg.ll
03-RetAndImmSubreg.ll
03-RetAndSubreg.ll
03-RetArgSubreg.ll
03-RetImmSubreg.ll
03-RetNegImmSubreg.ll
03-RetOrImmSubreg.ll
03-RetOrSubreg.ll
03-RetSubImmSubreg.ll
03-RetSubSubreg.ll
03-RetXorImmSubreg.ll
03-RetXorSubreg.ll
04-RetShifts.ll
05-LoadAddr.ll
05-MemImmStores.ll
05-MemLoadsStores16.ll
05-MemLoadsStores.ll
05-MemRegLoads.ll
05-MemRegStores.ll
06-CallViaStack.ll
06-FrameIdxLoad.ll
06-LocalFrame.ll
06-SimpleCall.ll
07-BrCond32.ll
07-BrCond.ll
07-BrUnCond.ll
07-CmpImm32.ll
07-CmpImm.ll
07-SelectCC.ll
08-DivRem.ll
08-DivRemMemOp.ll
08-SimpleMuls.ll
09-DynamicAlloca.ll
09-Globals.ll
09-Switches.ll
10-FuncsPic.ll
10-GlobalsPic.ll
11-BSwap.ll
2009-05-29-InvalidRetResult.ll
2009-06-02-And32Imm.ll
2009-06-02-Rotate.ll
2009-06-05-InvalidArgLoad.ll
2009-07-04-Shl32.ll
2009-07-05-Shifts.ll
2009-07-10-BadIncomingArgOffset.ll
2009-07-11-FloatBitConvert.ll
2009-07-11-InvalidRIISel.ll
2009-08-21-InlineAsmRConstraint.ll
2009-08-22-FCopySign.ll
2010-01-04-DivMem.ll
dg.exp