diff options
author | Amy Huang <akhuang@google.com> | 2019-04-24 23:02:48 +0000 |
---|---|---|
committer | Amy Huang <akhuang@google.com> | 2019-04-24 23:02:48 +0000 |
commit | 68c91994931c29dfc7a09e7d5a5e4515d13b12bd (patch) | |
tree | 103440faf57f4dca0def448c3533af2066b2e644 /llvm/lib/Target/X86/X86FastISel.cpp | |
parent | 105c565e9120c4ae11ec93912c883ec100034746 (diff) | |
download | bcm5719-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.cpp | 1 |
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; |