memory operands that have a direct operand should have their stores created
authorChris Lattner <sabre@nondot.org>
Sat, 28 Apr 2007 21:12:06 +0000 (21:12 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 28 Apr 2007 21:12:06 +0000 (21:12 +0000)
commit09e4b7e1b7d624a3010ace2c23783e77b366fa7e
tree33560bd5944729536b8ff3dcf070e1c6872be033
parentc83994e5d4c75b4dc3d0e2ac52972a4fff816eb6
memory operands that have a direct operand should have their stores created
before the copies into physregs are done.  This avoids having flag operands
skip the store, causing cycles in the dag at sched time.  This fixes infinite
loops on these tests:

test/CodeGen/Generic/2007-04-08-MultipleFrameIndices.ll for PR1308
test/CodeGen/PowerPC/2007-01-29-lbrx-asm.ll
test/CodeGen/PowerPC/2007-01-31-InlineAsmAddrMode.ll
test/CodeGen/X86/2006-07-12-InlineAsmQConstraint.ll for PR828

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36547 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp