summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetInstrInfoImpl.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-10-17 07:53:04 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-10-17 07:53:04 +0000
commit8759585aba78a2109db10511fdd0913af7d6e844 (patch)
tree30a198744a1d4917d1f491142a93bf2a10b45c59 /llvm/lib/CodeGen/TargetInstrInfoImpl.cpp
parent1baf407fbcaaccc33a6c30de9b2b39d258b919c5 (diff)
downloadbcm5719-llvm-8759585aba78a2109db10511fdd0913af7d6e844.tar.gz
bcm5719-llvm-8759585aba78a2109db10511fdd0913af7d6e844.zip
Revert 84315 for now. Re-thinking the patch.
llvm-svn: 84321
Diffstat (limited to 'llvm/lib/CodeGen/TargetInstrInfoImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetInstrInfoImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetInstrInfoImpl.cpp b/llvm/lib/CodeGen/TargetInstrInfoImpl.cpp
index b6107778c8d..c646869e8a7 100644
--- a/llvm/lib/CodeGen/TargetInstrInfoImpl.cpp
+++ b/llvm/lib/CodeGen/TargetInstrInfoImpl.cpp
@@ -187,7 +187,7 @@ TargetInstrInfo::foldMemoryOperand(MachineFunction &MF,
const MachineFrameInfo &MFI = *MF.getFrameInfo();
assert(MFI.getObjectOffset(FrameIndex) != -1);
MachineMemOperand *MMO =
- MF.getMachineMemOperand(PseudoSourceValue::getStackObject(FrameIndex),
+ MF.getMachineMemOperand(PseudoSourceValue::getFixedStack(FrameIndex),
Flags, /*Offset=*/0,
MFI.getObjectSize(FrameIndex),
MFI.getObjectAlignment(FrameIndex));
OpenPOWER on IntegriCloud