summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMInstrInfo.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-02-03 00:55:04 +0000
committerBill Wendling <isanbard@gmail.com>2009-02-03 00:55:04 +0000
commit9bc96a57206cbebaa9b0ba9979f949eb10c1592c (patch)
treede315c770a738c7ebf04f1b144df9bd73c330afa /lib/Target/ARM/ARMInstrInfo.cpp
parentff97d4fe81ef0dcee9fe490bed8ab08e40251905 (diff)
downloadllvm-9bc96a57206cbebaa9b0ba9979f949eb10c1592c.tar.gz
llvm-9bc96a57206cbebaa9b0ba9979f949eb10c1592c.tar.bz2
llvm-9bc96a57206cbebaa9b0ba9979f949eb10c1592c.tar.xz
Create DebugLoc information in FastISel. Several temporary methods were
created. Specifically, those BuildMIs which use "DebugLoc::getUnknownLoc()". I'll remove them soon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63584 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrInfo.cpp')
-rw-r--r--lib/Target/ARM/ARMInstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.cpp b/lib/Target/ARM/ARMInstrInfo.cpp
index 3d1e512319..c160714b54 100644
--- a/lib/Target/ARM/ARMInstrInfo.cpp
+++ b/lib/Target/ARM/ARMInstrInfo.cpp
@@ -649,7 +649,7 @@ bool ARMInstrInfo::restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
return false;
bool isVarArg = AFI->getVarArgsRegSaveSize() > 0;
- MachineInstr *PopMI = MF.CreateMachineInstr(get(ARM::tPOP));
+ MachineInstr *PopMI = MF.CreateMachineInstr(get(ARM::tPOP),MI->getDebugLoc());
MBB.insert(MI, PopMI);
for (unsigned i = CSI.size(); i != 0; --i) {
unsigned Reg = CSI[i-1].getReg();