[PATCH] D69136: Add an instruction marker field to the ExtraInfo in MachineInstrs.
Amy Huang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 17 14:00:13 PDT 2019
akhuang created this revision.
akhuang added a reviewer: rnk.
Herald added subscribers: llvm-commits, hiraditya, MatzeB.
Herald added a project: LLVM.
Add instruction marker to MachineInstr ExtraInfo. This does almost the
same thing as Pre/PostInstrSymbols, except that it doesn't create a label until
printing instructions. This allows for labels to be put around instructions that
are deleted/duplicated somewhere.
Also undo the workaround in r375137.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D69136
Files:
llvm/include/llvm/CodeGen/MachineFunction.h
llvm/include/llvm/CodeGen/MachineInstr.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
llvm/lib/CodeGen/MachineFunction.cpp
llvm/lib/CodeGen/MachineInstr.cpp
llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
llvm/test/CodeGen/X86/label-heapallocsite.ll
llvm/test/CodeGen/X86/taildup-heapallocsite.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69136.225512.patch
Type: text/x-patch
Size: 19389 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191017/5bc2212d/attachment.bin>
More information about the llvm-commits
mailing list