[all-commits] [llvm/llvm-project] 140e18: [KeyInstr] Add DISubprogram::keyInstructions bit (...
Orlando Cazalet-Hyams via All-commits
all-commits at lists.llvm.org
Mon Jun 30 00:02:17 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 140e1894f245896752d06a7f5c405a465b492e73
https://github.com/llvm/llvm-project/commit/140e1894f245896752d06a7f5c405a465b492e73
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M clang/lib/CodeGen/CGDebugInfo.cpp
M llvm/include/llvm/IR/DIBuilder.h
M llvm/include/llvm/IR/DebugInfoMetadata.h
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/IR/DIBuilder.cpp
M llvm/lib/IR/DebugInfoMetadata.cpp
M llvm/lib/IR/LLVMContextImpl.h
M llvm/lib/IR/Verifier.cpp
M llvm/lib/Transforms/Utils/Debugify.cpp
M llvm/test/DebugInfo/KeyInstructions/Generic/inline-nodbg.ll
M llvm/test/DebugInfo/KeyInstructions/Generic/inline.ll
M llvm/test/DebugInfo/KeyInstructions/Generic/jump-threading-2-bbs.ll
M llvm/test/DebugInfo/KeyInstructions/Generic/jump-threading-basic.ll
M llvm/test/DebugInfo/KeyInstructions/Generic/jump-threading-dup-cond-br-on-phi-into-pred.ll
M llvm/test/DebugInfo/KeyInstructions/Generic/loop-rotate.ll
M llvm/test/DebugInfo/KeyInstructions/Generic/loop-unroll-runtime.ll
M llvm/test/DebugInfo/KeyInstructions/Generic/loop-unroll.ll
M llvm/test/DebugInfo/KeyInstructions/Generic/loop-unswitch.ll
M llvm/test/DebugInfo/KeyInstructions/Generic/parse.ll
M llvm/test/DebugInfo/KeyInstructions/Generic/simplifycfg-branch-fold.ll
M llvm/test/DebugInfo/KeyInstructions/Generic/simplifycfg-thread-phi.ll
A llvm/test/DebugInfo/KeyInstructions/Generic/verify.ll
M llvm/test/DebugInfo/KeyInstructions/X86/cgp-break-critical-edge.ll
M llvm/test/DebugInfo/KeyInstructions/X86/dwarf-basic-ranks.ll
M llvm/test/DebugInfo/KeyInstructions/X86/dwarf-basic.ll
M llvm/test/DebugInfo/KeyInstructions/X86/dwarf-buoy-multi-key.mir
M llvm/test/DebugInfo/KeyInstructions/X86/dwarf-buoy.mir
M llvm/test/DebugInfo/KeyInstructions/X86/dwarf-calls.ll
M llvm/test/DebugInfo/KeyInstructions/X86/dwarf-ranks-blocks.ll
M llvm/test/DebugInfo/KeyInstructions/debugify.ll
M llvm/unittests/IR/BasicBlockDbgInfoTest.cpp
M llvm/unittests/IR/MetadataTest.cpp
M llvm/unittests/Transforms/Utils/CloningTest.cpp
Log Message:
-----------
[KeyInstr] Add DISubprogram::keyInstructions bit (#144107)
Patch 1/4 adding bitcode support.
Store whether or not a function is using Key Instructions in its DISubprogram so
that we don't need to rely on the -mllvm flag -dwarf-use-key-instructions to
determine whether or not to interpret Key Instructions metadata to decide
is_stmt placement at DWARF emission time. This makes bitcode support simple and
enables well defined mixing of non-key-instructions and key-instructions
functions in an LTO context.
This patch adds the bit (using DISubprogram::SubclassData1).
PR 144104 and 144103 use it during DWARF emission.
PR 44102 adds bitcode
support.
See pull request for overview of alternative attempts.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list