[all-commits] [llvm/llvm-project] c70f6e: [Metadata] Introduce MD_pcsections
Marco Elver via All-commits
all-commits at lists.llvm.org
Tue Sep 6 06:53:37 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c70f6e1362e38f36dceca0342490d659aa45a1a5
https://github.com/llvm/llvm-project/commit/c70f6e1362e38f36dceca0342490d659aa45a1a5
Author: Marco Elver <elver at google.com>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
A llvm/docs/PCSectionsMetadata.rst
M llvm/docs/Reference.rst
M llvm/include/llvm/IR/FixedMetadataKinds.def
M llvm/include/llvm/IR/MDBuilder.h
M llvm/lib/IR/MDBuilder.cpp
M llvm/unittests/IR/MDBuilderTest.cpp
Log Message:
-----------
[Metadata] Introduce MD_pcsections
Introduces MD_pcsections metadata kind. See added documentation for
more details.
Subsequent patches enable propagating PC sections metadata through code
generation to the AsmPrinter.
RFC: https://discourse.llvm.org/t/rfc-pc-keyed-metadata-at-runtime/64191
Reviewed By: dvyukov, vitalybuka
Differential Revision: https://reviews.llvm.org/D130875
Commit: 42836e283fc58d5cebbcbb2e8eb7619d92fb9c2d
https://github.com/llvm/llvm-project/commit/42836e283fc58d5cebbcbb2e8eb7619d92fb9c2d
Author: Marco Elver <elver at google.com>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M llvm/include/llvm/CodeGen/MachineFunction.h
M llvm/include/llvm/CodeGen/MachineInstr.h
M llvm/lib/CodeGen/MachineFunction.cpp
M llvm/lib/CodeGen/MachineInstr.cpp
M llvm/unittests/CodeGen/MachineInstrTest.cpp
Log Message:
-----------
[MachineInstr] Allow setting PCSections in ExtraInfo
Provide MachineInstr::setPCSection(), to propagate relevant metadata
through the backend. Use ExtraInfo to store the metadata.
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D130876
Compare: https://github.com/llvm/llvm-project/compare/e1ebe476e45a...42836e283fc5
More information about the All-commits
mailing list