llvm-6502/test/CodeGen/MSP430
Chris Lattner d1b7382983 Fix some issues in WalkChainUsers dealing with
CopyToReg/CopyFromReg/INLINEASM.  These are annoying because
they have the same opcode before an after isel.  Fix this by
setting their NodeID to -1 to indicate that they are selected,
just like what automatically happens when selecting things that
end up being machine nodes.

With that done, give IsLegalToFold a new flag that causes it to
ignore chains.  This lets the HandleMergeInputChains routine be
the one place that validates chains after a match is successful,
enabling the new hotness in chain processing.  This smarter
chain processing eliminates the need for "PreprocessRMW" in the
X86 and MSP430 backends and enables MSP to start matching it's
multiple mem operand instructions more aggressively.

I currently #if out the dead code in the X86 backend and MSP 
backend, I'll remove it for real in a follow-on patch.

The testcase changes are:
  test/CodeGen/X86/sse3.ll: we generate better code
  test/CodeGen/X86/store_op_load_fold2.ll: PreprocessRMW was 
      miscompiling this before, we now generate correct code
      Convert it to filecheck while I'm at it.
  test/CodeGen/MSP430/Inst16mm.ll: Add a testcase for mem/mem
      folding to make anton happy. :)




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97596 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-02 22:20:06 +00:00
..
2009-05-10-CyclicDAG.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
2009-05-17-Rot.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
2009-05-17-Shift.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
2009-05-19-DoubleSplit.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
2009-08-25-DynamicStackAlloc.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
2009-09-18-AbsoluteAddr.ll Initial support for addrmode handling. Tests by Brian Lucas! 2009-11-07 17:13:35 +00:00
2009-10-10-OrImpDef.ll It seems that OR operation does not affect status reg at all. 2009-10-10 22:17:47 +00:00
2009-11-05-8BitLibcalls.ll Add 8 bit libcalls and make use of them for msp430 2009-11-07 17:14:39 +00:00
2009-11-08-InvalidResNo.ll It is invalid to infer the value type from the result #0 of the node 2009-11-08 12:14:54 +00:00
2009-11-20-NewNode.ll While this test is testing a problem in the generic part of codegen, 2009-11-27 16:04:14 +00:00
2009-12-21-FrameAddr.ll Add testcase for PR5703 2009-12-22 22:37:23 +00:00
2009-12-22-InlineAsm.ll Use more sensible type for flags in asms. PR 5570. 2009-12-23 07:32:51 +00:00
AddrMode-bis-rx.ll no need to run llvm-as here. 2010-02-22 23:34:12 +00:00
AddrMode-bis-xr.ll no need to run llvm-as here. 2010-02-22 23:34:12 +00:00
AddrMode-mov-rx.ll no need to run llvm-as here. 2010-02-22 23:34:12 +00:00
AddrMode-mov-xr.ll no need to run llvm-as here. 2010-02-22 23:34:12 +00:00
bit.ll no need to run llvm-as here. 2010-02-22 23:34:12 +00:00
dg.exp
inline-asm.ll Initial support for addrmode handling. Tests by Brian Lucas! 2009-11-07 17:13:35 +00:00
Inst8mi.ll Eliminate some redundant llvm-as calls. 2009-10-12 09:31:55 +00:00
Inst8mm.ll Use special DAG-to-DAG preprocessing to allow mem-mem instructions to be selected. 2009-10-22 00:16:00 +00:00
Inst8mr.ll Add and-not (bic) patterns. Based heavily on patch by Brian Lucas! 2009-11-08 15:33:12 +00:00
Inst8ri.ll Add reg-imm tests 2009-10-21 00:11:44 +00:00
Inst8rm.ll Add and-not (bic) patterns. Based heavily on patch by Brian Lucas! 2009-11-08 15:33:12 +00:00
Inst8rr.ll Change the scheduler from adding nodes in allnodes order 2010-02-24 06:11:37 +00:00
Inst16mi.ll Eliminate some redundant llvm-as calls. 2009-10-12 09:31:55 +00:00
Inst16mm.ll Fix some issues in WalkChainUsers dealing with 2010-03-02 22:20:06 +00:00
Inst16mr.ll Add and-not (bic) patterns. Based heavily on patch by Brian Lucas! 2009-11-08 15:33:12 +00:00
Inst16ri.ll Add reg-imm tests 2009-10-21 00:11:44 +00:00
Inst16rm.ll Add and-not (bic) patterns. Based heavily on patch by Brian Lucas! 2009-11-08 15:33:12 +00:00
Inst16rr.ll Add and-not (bic) patterns. Based heavily on patch by Brian Lucas! 2009-11-08 15:33:12 +00:00
postinc.ll Fix invalid operand updates & implement post-inc memory operands 2009-11-08 14:27:38 +00:00
setcc.ll IT turns out that during jumpless setcc lowering eq and ne were swapped. 2010-02-21 12:28:58 +00:00
shifts.ll Add variable-width shifts for MSP430 2010-01-14 22:09:38 +00:00