[llvm-commits] [llvm] r144635 - /llvm/trunk/lib/CodeGen/TargetInstrInfoImpl.cpp
Jay Foad
jay.foad at gmail.com
Mon Nov 14 23:51:13 PST 2011
Author: foad
Date: Tue Nov 15 01:51:13 2011
New Revision: 144635
URL: http://llvm.org/viewvc/llvm-project?rev=144635&view=rev
Log:
Make use of MachinePointerInfo::getFixedStack.
Modified:
llvm/trunk/lib/CodeGen/TargetInstrInfoImpl.cpp
Modified: llvm/trunk/lib/CodeGen/TargetInstrInfoImpl.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/TargetInstrInfoImpl.cpp?rev=144635&r1=144634&r2=144635&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/TargetInstrInfoImpl.cpp (original)
+++ llvm/trunk/lib/CodeGen/TargetInstrInfoImpl.cpp Tue Nov 15 01:51:13 2011
@@ -296,8 +296,7 @@
const MachineFrameInfo &MFI = *MF.getFrameInfo();
assert(MFI.getObjectOffset(FI) != -1);
MachineMemOperand *MMO =
- MF.getMachineMemOperand(
- MachinePointerInfo(PseudoSourceValue::getFixedStack(FI)),
+ MF.getMachineMemOperand(MachinePointerInfo::getFixedStack(FI),
Flags, MFI.getObjectSize(FI),
MFI.getObjectAlignment(FI));
NewMI->addMemOperand(MF, MMO);
More information about the llvm-commits
mailing list