llvm-project/llvm/test/CodeGen
Chris Lattner b884fe867e Rewrite chain handling validation and input TokenFactor handling
stuff now that we don't care about emulating the old broken 
behavior of the old isel.  This eliminates the 
'CheckChainCompatible' check (along with IsChainCompatible) which
did an incorrect and inefficient scan *up* the chain nodes which
happened as the pattern was being formed and does the validation
at the end in HandleMergeInputChains when it forms a structural 
pattern.  This scans "down" the graph, which means that it is
quickly bounded by nodes already selected.  This also handles
token factors that get "trapped" in the dag.

Removing the CheckChainCompatible nodes also shrinks the 
generated tables by about 6K for X86 (down to 83K).

There are two pieces remaining before I can nuke PreprocessRMW:
1. I xfailed a test because we're now producing worse code in a 
   case that has nothing to do with the change: it turns out that
   our use of MorphNodeTo will leave dead nodes in the graph
   which (depending on how the graph is walked) end up causing
   bogus uses of chains and blocking matches.  This is really 
   bad for other reasons, so I'll fix this in a follow-up patch.

2. CheckFoldableChainNode needs to be improved to handle the TF.

llvm-svn: 97539
2010-03-02 02:22:10 +00:00
..
ARM Check for comparisons of +/- zero when optimizing less-than-or-equal and 2010-02-24 22:15:53 +00:00
Alpha Fix PR2590 by making PatternSortingPredicate actually be 2010-03-01 22:09:11 +00:00
Blackfin Change the scheduler from adding nodes in allnodes order 2010-02-24 06:11:37 +00:00
CBackend Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +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
CellSPU don't let asm-verbose break the check-next lines in these tests. 2010-01-19 06:39:54 +00:00
Generic stop using anders-aa 2010-03-01 20:24:05 +00:00
MBlaze Adding the MicroBlaze backend. 2010-02-23 19:15:24 +00:00
MSP430 Change the scheduler from adding nodes in allnodes order 2010-02-24 06:11:37 +00:00
Mips Delete useless trailing semicolons. 2010-01-05 17:55:26 +00:00
PIC16 Reapply things reverted back in 97220, with the fixed test case. 2010-02-26 17:59:28 +00:00
PowerPC add some random nounwinds. 2010-02-28 20:36:49 +00:00
SPARC add support for the sparcv9-*-* target triple to turn on 2010-02-04 06:34:01 +00:00
SystemZ Teach dag combine to fold the following transformation more aggressively: 2010-01-06 19:38:29 +00:00
Thumb Run the pre-register allocation tail duplication pass by default. Remove 2010-01-16 00:29:50 +00:00
Thumb2 Create a stack frame on ARM when 2010-02-24 22:43:17 +00:00
X86 Rewrite chain handling validation and input TokenFactor handling 2010-03-02 02:22:10 +00:00
XCore Fix XCoreTargetLowering::isLegalAddressingMode() to handle VoidTy. 2010-02-26 16:44:51 +00:00