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 Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
01-RetArg.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
01-RetImm.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
02-MemArith.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
02-RetAdd.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
02-RetAddImm.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
02-RetAnd.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
02-RetAndImm.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
02-RetNeg.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
02-RetOr.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
02-RetOrImm.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
02-RetSub.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
02-RetSubImm.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
02-RetXor.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
02-RetXorImm.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
03-RetAddImmSubreg.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
03-RetAddSubreg.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
03-RetAndImmSubreg.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
03-RetAndSubreg.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
03-RetArgSubreg.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
03-RetImmSubreg.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
03-RetNegImmSubreg.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
03-RetOrImmSubreg.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
03-RetOrSubreg.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
03-RetSubImmSubreg.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
03-RetSubSubreg.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
03-RetXorImmSubreg.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
03-RetXorSubreg.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
04-RetShifts.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
05-LoadAddr.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
05-MemImmStores.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
05-MemLoadsStores16.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
05-MemLoadsStores.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
05-MemRegLoads.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
05-MemRegStores.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
06-CallViaStack.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
06-FrameIdxLoad.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
06-LocalFrame.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
06-SimpleCall.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
07-BrCond32.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
07-BrCond.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
07-BrUnCond.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
07-CmpImm32.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
07-CmpImm.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
07-SelectCC.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
08-DivRem.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
08-DivRemMemOp.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
08-SimpleMuls.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
09-DynamicAlloca.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
09-Globals.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
09-Switches.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
10-FuncsPic.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
10-GlobalsPic.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
11-BSwap.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
2009-05-29-InvalidRetResult.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
2009-06-02-And32Imm.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
2009-06-02-Rotate.ll Teach dag combine to fold the following transformation more aggressively: 2010-01-06 19:38:29 +00:00
2009-06-05-InvalidArgLoad.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
2009-07-04-Shl32.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
2009-07-05-Shifts.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
2009-07-10-BadIncomingArgOffset.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
2009-07-11-FloatBitConvert.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
2009-07-11-InvalidRIISel.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
2009-08-21-InlineAsmRConstraint.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
2009-08-22-FCopySign.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
2010-01-04-DivMem.ll Fix invalid chain folding for memory variant of sdiv / udiv 2010-01-04 10:31:54 +00:00
dg.exp