aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/PHIElimination.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
commit57c81153e044b2ee5eb6e9cb6ab86d585cad1df3 (patch)
tree14176201b81fc2a07e8df8d05dcaa73c46514f74 /lib/CodeGen/PHIElimination.cpp
parent9391e1fb893c9a79957f6e95c5d2cfd3c2d73c00 (diff)
downloadexternal_llvm-57c81153e044b2ee5eb6e9cb6ab86d585cad1df3.zip
external_llvm-57c81153e044b2ee5eb6e9cb6ab86d585cad1df3.tar.gz
external_llvm-57c81153e044b2ee5eb6e9cb6ab86d585cad1df3.tar.bz2
Explicitly pass in debug location information to BuildMI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63599 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PHIElimination.cpp')
-rw-r--r--lib/CodeGen/PHIElimination.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/PHIElimination.cpp b/lib/CodeGen/PHIElimination.cpp
index 147ccab..b32db2e 100644
--- a/lib/CodeGen/PHIElimination.cpp
+++ b/lib/CodeGen/PHIElimination.cpp
@@ -166,7 +166,7 @@ void PNE::LowerAtomicPHINode(MachineBasicBlock &MBB,
if (isSourceDefinedByImplicitDef(MPhi, MRI))
// If all sources of a PHI node are implicit_def, just emit an
// implicit_def instead of a copy.
- BuildMI(MBB, AfterPHIsIt,
+ BuildMI(MBB, AfterPHIsIt, MPhi->getDebugLoc(),
TII->get(TargetInstrInfo::IMPLICIT_DEF), DestReg);
else {
IncomingReg = MF.getRegInfo().createVirtualRegister(RC);