[PATCH] D130876: [MachineInstr] Allow setting PCSections in ExtraInfo

Marco Elver via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 1 01:54:59 PDT 2022


melver created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
melver requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Provide MachineInstr::setPCSection(), to propagate relevant metadata
through the backend. Use ExtraInfo to store the metadata.

Depends on D130875 <https://reviews.llvm.org/D130875>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130876

Files:
  llvm/include/llvm/CodeGen/MachineFunction.h
  llvm/include/llvm/CodeGen/MachineInstr.h
  llvm/lib/CodeGen/MachineFunction.cpp
  llvm/lib/CodeGen/MachineInstr.cpp
  llvm/unittests/CodeGen/MachineInstrTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130876.448944.patch
Type: text/x-patch
Size: 15850 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220801/3d546ecf/attachment.bin>


More information about the llvm-commits mailing list