diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-02-03 01:33:28 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-02-03 01:33:28 +0000 |
commit | 2dae940597f756f61ea953326646bc6a0c694b95 (patch) | |
tree | 34165b44591e693b56e0f33be52ae045840555c3 /lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | |
parent | 2deef11b46454fd7caedbaf1fb5fa3a48e4c3f82 (diff) | |
download | external_llvm-2dae940597f756f61ea953326646bc6a0c694b95.zip external_llvm-2dae940597f756f61ea953326646bc6a0c694b95.tar.gz external_llvm-2dae940597f756f61ea953326646bc6a0c694b95.tar.bz2 |
Explicitly pass in the "unknown" debug location. This is probably not
correct. We need more infrastructure before we can get the DebugLoc info for
these instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63593 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp index dd631af..a67110c 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp @@ -333,7 +333,8 @@ void FunctionLoweringInfo::set(Function &fn, MachineFunction &mf, unsigned NumRegisters = TLI.getNumRegisters(VT); const TargetInstrInfo *TII = MF->getTarget().getInstrInfo(); for (unsigned i = 0; i != NumRegisters; ++i) - BuildMI(MBB, TII->get(TargetInstrInfo::PHI), PHIReg+i); + BuildMI(MBB, DebugLoc::getUnknownLoc(), + TII->get(TargetInstrInfo::PHI), PHIReg + i); PHIReg += NumRegisters; } } |