summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/Sparc')
-rw-r--r--llvm/lib/Target/Sparc/SparcInstrSelection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/SparcInstrSelection.cpp b/llvm/lib/Target/Sparc/SparcInstrSelection.cpp
index 8966db2f3e4..d1b7149960d 100644
--- a/llvm/lib/Target/Sparc/SparcInstrSelection.cpp
+++ b/llvm/lib/Target/Sparc/SparcInstrSelection.cpp
@@ -1858,7 +1858,7 @@ GetInstructionsByRule(InstructionNode* subtreeRoot,
Method* method = instr->getParent()->getParent();
MachineCodeForMethod& mcInfo = MachineCodeForMethod::get(method);
- int offsetFromFP = mcInfo.allocateLocalVar(target, instr);
+ int offsetFromFP = mcInfo.allocateLocalVar(target, instr, (unsigned int) tsize);
// Create a temporary Value to hold the constant offset.
// This is needed because it may not fit in the immediate field.
OpenPOWER on IntegriCloud