1. Recommit "Add a heap alloc site marker field to the ExtraInfo in (details)
Commit 742043047c973999eac7734e53f7872973933f24 by akhuang
Recommit "Add a heap alloc site marker field to the ExtraInfo in
Summary: Fixes some things from original commit at The main change is that the heap alloc
marker is always stored as ExtraInfo in the machine instruction instead
of in the PointerSumType because it cannot hold more than 4 pointer
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. Use this
marker to track heap alloc site call instructions.
Reviewers: rnk
Subscribers: MatzeB, hiraditya, llvm-commits
Tags: #llvm
Differential Revision:
The file was modifiedllvm/include/llvm/CodeGen/MachineFunction.h
The file was modifiedllvm/include/llvm/CodeGen/MachineInstr.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/test/CodeGen/X86/taildup-heapallocsite.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/FastISel.cpp
The file was modifiedllvm/unittests/CodeGen/MachineInstrTest.cpp
The file was modifiedllvm/lib/CodeGen/MachineInstr.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
The file was modifiedllvm/test/CodeGen/X86/label-heapallocsite.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp