summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86FastISel.cpp
diff options
context:
space:
mode:
authorAmy Huang <akhuang@google.com>2019-04-24 23:02:48 +0000
committerAmy Huang <akhuang@google.com>2019-04-24 23:02:48 +0000
commit68c91994931c29dfc7a09e7d5a5e4515d13b12bd (patch)
tree103440faf57f4dca0def448c3533af2066b2e644 /llvm/lib/Target/X86/X86FastISel.cpp
parent105c565e9120c4ae11ec93912c883ec100034746 (diff)
downloadbcm5719-llvm-68c91994931c29dfc7a09e7d5a5e4515d13b12bd.tar.gz
bcm5719-llvm-68c91994931c29dfc7a09e7d5a5e4515d13b12bd.zip
Recommitting r358783 and r358786 "[MS] Emit S_HEAPALLOCSITE debug info" with fixes for buildbot error (undefined assembler label).
Summary: This emits labels around heapallocsite calls and S_HEAPALLOCSITE debug info in codeview. Currently only changes FastISel, so emitting labels still needs to be implemented in SelectionDAG. Reviewers: rnk Subscribers: aprantl, hiraditya, cfe-commits, llvm-commits Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D61083 llvm-svn: 359149
Diffstat (limited to 'llvm/lib/Target/X86/X86FastISel.cpp')
-rw-r--r--llvm/lib/Target/X86/X86FastISel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86FastISel.cpp b/llvm/lib/Target/X86/X86FastISel.cpp
index 1590cd7750d..43f090ade21 100644
--- a/llvm/lib/Target/X86/X86FastISel.cpp
+++ b/llvm/lib/Target/X86/X86FastISel.cpp
@@ -3985,6 +3985,7 @@ bool X86FastISel::tryToFoldLoadIntoMI(MachineInstr *MI, unsigned OpNo,
}
Result->addMemOperand(*FuncInfo.MF, createMachineMemOperandFor(LI));
+ Result->cloneInstrSymbols(*FuncInfo.MF, *MI);
MachineBasicBlock::iterator I(MI);
removeDeadCode(I, std::next(I));
return true;
OpenPOWER on IntegriCloud