summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/VirtRegMap.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-02-03 02:29:34 +0000
committerBill Wendling <isanbard@gmail.com>2009-02-03 02:29:34 +0000
commit67cd395d4575ebf48bdf4fa4eda6eec7c2358cf3 (patch)
treec94a717932ff40af9cb7c79bd8b0d58fab215066 /llvm/lib/CodeGen/VirtRegMap.cpp
parent135227a060a14062555c32ace1e2a158d153ecb9 (diff)
downloadbcm5719-llvm-67cd395d4575ebf48bdf4fa4eda6eec7c2358cf3.tar.gz
bcm5719-llvm-67cd395d4575ebf48bdf4fa4eda6eec7c2358cf3.zip
Explicitly pass in debug location information to BuildMI.
llvm-svn: 63599
Diffstat (limited to 'llvm/lib/CodeGen/VirtRegMap.cpp')
-rw-r--r--llvm/lib/CodeGen/VirtRegMap.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/VirtRegMap.cpp b/llvm/lib/CodeGen/VirtRegMap.cpp
index b35fc2c653a..9cb580b9f0a 100644
--- a/llvm/lib/CodeGen/VirtRegMap.cpp
+++ b/llvm/lib/CodeGen/VirtRegMap.cpp
@@ -1360,7 +1360,8 @@ void LocalSpiller::RewriteMBB(MachineBasicBlock &MBB, VirtRegMap &VRM) {
unsigned RReg = SubIdx ? TRI->getSubReg(Phys, SubIdx) : Phys;
MI.getOperand(i).setReg(RReg);
if (VRM.isImplicitlyDefined(VirtReg))
- BuildMI(MBB, &MI, TII->get(TargetInstrInfo::IMPLICIT_DEF), RReg);
+ BuildMI(MBB, &MI, MI.getDebugLoc(),
+ TII->get(TargetInstrInfo::IMPLICIT_DEF), RReg);
continue;
}
OpenPOWER on IntegriCloud