PowerPC inline asm was emitting two output operands
authorDale Johannesen <dalej@apple.com>
Tue, 18 Aug 2009 00:18:39 +0000 (00:18 +0000)
committerDale Johannesen <dalej@apple.com>
Tue, 18 Aug 2009 00:18:39 +0000 (00:18 +0000)
commit5cfd4ddece1b73a719830ae84eb74d491f87b9d5
tree17a2abe12b29d5b73327c4bd0b9fd4aba95eab82
parent4b49cd298a372b58d22ae41cba7a379e9325bfbd
PowerPC inline asm was emitting two output operands
for a single "m" constraint; this is wrong because the
opcode of a load or store would have to change in parallel.
This patch makes it always compute addresses into a register,
which is correct but not as efficient as possible.  7144566.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79292 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
test/CodeGen/PowerPC/2009-08-17-inline-asm-addr-mode-breakage.ll [new file with mode: 0644]