[llvm-branch-commits] [llvm-branch] r106125 - /llvm/branches/Apple/Hermes/lib/Target/ARM/ARMISelDAGToDAG.cpp

Bob Wilson bob.wilson at apple.com
Wed Jun 16 11:34:24 PDT 2010


Author: bwilson
Date: Wed Jun 16 13:34:24 2010
New Revision: 106125

URL: http://llvm.org/viewvc/llvm-project?rev=106125&view=rev
Log:
Quad-register VST3 and VST4 instructions were broken because the address
register update was missing.  This fix in not relevant on ToT because of
other changes that have gone in more recently.  Radar 8095369.

Modified:
    llvm/branches/Apple/Hermes/lib/Target/ARM/ARMISelDAGToDAG.cpp

Modified: llvm/branches/Apple/Hermes/lib/Target/ARM/ARMISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Hermes/lib/Target/ARM/ARMISelDAGToDAG.cpp?rev=106125&r1=106124&r2=106125&view=diff
==============================================================================
--- llvm/branches/Apple/Hermes/lib/Target/ARM/ARMISelDAGToDAG.cpp (original)
+++ llvm/branches/Apple/Hermes/lib/Target/ARM/ARMISelDAGToDAG.cpp Wed Jun 16 13:34:24 2010
@@ -1192,7 +1192,7 @@
   // where one stores the even registers and the other stores the odd registers.
 
   // Enable writeback to the address register.
-  MemOpc = CurDAG->getTargetConstant(ARM_AM::getAM6Opc(true), MVT::i32);
+  Ops[2] = CurDAG->getTargetConstant(ARM_AM::getAM6Opc(true), MVT::i32);
 
   // Store the even subregs.
   for (unsigned Vec = 0; Vec < NumVecs; ++Vec)





More information about the llvm-branch-commits mailing list