diff options
Diffstat (limited to 'llvm/lib/Target/Sparc')
| -rw-r--r-- | llvm/lib/Target/Sparc/SparcInstrSelection.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/SparcInstrSelection.cpp b/llvm/lib/Target/Sparc/SparcInstrSelection.cpp index d1b7149960d..c1b8aa38c87 100644 --- a/llvm/lib/Target/Sparc/SparcInstrSelection.cpp +++ b/llvm/lib/Target/Sparc/SparcInstrSelection.cpp @@ -744,7 +744,8 @@ SetOperandsForMemInstr(MachineInstr* minstr, // The major work here is to extract these for all 3 instruction types // and then call the common function SetMemOperands_Internal(). // - const vector<ConstPoolVal*>* idxVec = &memInst->getIndices(); + const vector<ConstPoolVal*> OLDIDXVEC = memInst->getIndicesBROKEN(); + const vector<ConstPoolVal*>* idxVec = &OLDIDXVEC; //FIXME vector<ConstPoolVal*>* newIdxVec = NULL; Value* ptrVal; Value* arrayOffsetVal = NULL; |

