diff options
author | Orlando Cazalet-Hyams <orlando.hyams@sony.com> | 2025-08-08 17:03:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-08 17:03:28 +0100 |
commit | 17786697395240852444ef3f16457e764e7acdba (patch) | |
tree | ee369d1a4abf6e1bd3e4132d5f76385ecd124a46 /llvm/lib/IR/DebugInfoMetadata.cpp | |
parent | c8312bdd1665225c585dd2b0bff5e46d569edd45 (diff) | |
download | llvm-17786697395240852444ef3f16457e764e7acdba.zip llvm-17786697395240852444ef3f16457e764e7acdba.tar.gz llvm-17786697395240852444ef3f16457e764e7acdba.tar.bz2 |
[KeyInstr] Remove LLVM_EXPERIMENTAL_KEY_INSTRUCTIONS CMake flag (#152735)
The CMake flag has been on by default for a month without any issues.
This makes the feature support in LLVM unconditional (but does not
enable the feature by default).
Diffstat (limited to 'llvm/lib/IR/DebugInfoMetadata.cpp')
-rw-r--r-- | llvm/lib/IR/DebugInfoMetadata.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/llvm/lib/IR/DebugInfoMetadata.cpp b/llvm/lib/IR/DebugInfoMetadata.cpp index f1d4549..96065ed 100644 --- a/llvm/lib/IR/DebugInfoMetadata.cpp +++ b/llvm/lib/IR/DebugInfoMetadata.cpp @@ -57,15 +57,9 @@ DebugVariable::DebugVariable(const DbgVariableRecord *DVR) DILocation::DILocation(LLVMContext &C, StorageType Storage, unsigned Line, unsigned Column, uint64_t AtomGroup, uint8_t AtomRank, ArrayRef<Metadata *> MDs, bool ImplicitCode) - : MDNode(C, DILocationKind, Storage, MDs) -#ifdef EXPERIMENTAL_KEY_INSTRUCTIONS - , - AtomGroup(AtomGroup), AtomRank(AtomRank) -#endif -{ -#ifdef EXPERIMENTAL_KEY_INSTRUCTIONS + : MDNode(C, DILocationKind, Storage, MDs), AtomGroup(AtomGroup), + AtomRank(AtomRank) { assert(AtomRank <= 7 && "AtomRank number should fit in 3 bits"); -#endif if (AtomGroup) C.updateDILocationAtomGroupWaterline(AtomGroup + 1); |