[llvm] 85a11bc - [KeyInstr] Enable Key Instructions support in LLVM (#144324)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 8 03:17:20 PDT 2025


Author: Orlando Cazalet-Hyams
Date: 2025-07-08T11:17:17+01:00
New Revision: 85a11bce7d9a565fa5e28a522674334f294c6c33

URL: https://github.com/llvm/llvm-project/commit/85a11bce7d9a565fa5e28a522674334f294c6c33
DIFF: https://github.com/llvm/llvm-project/commit/85a11bce7d9a565fa5e28a522674334f294c6c33.diff

LOG: [KeyInstr] Enable Key Instructions support in LLVM (#144324)

Set LLVM_EXPERIMENTAL_KEY_INSTRUCTIONS=ON by default. This enables
support for Key Instructions in LLVM by default, it does not enable the
feature by default.

This does have an affect on compile time, which looks to have mostly
been "paid for" (if that argument stands) by my PR #143399.

Added: 
    

Modified: 
    llvm/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
index 22877bf916abf..d9750a1fc9a3a 100644
--- a/llvm/CMakeLists.txt
+++ b/llvm/CMakeLists.txt
@@ -581,7 +581,7 @@ set(LLVM_ENABLE_DEBUGLOC_COVERAGE_TRACKING "DISABLED" CACHE STRING
 set_property(CACHE LLVM_ENABLE_DEBUGLOC_COVERAGE_TRACKING PROPERTY STRINGS DISABLED COVERAGE COVERAGE_AND_ORIGIN)
 
 option(LLVM_EXPERIMENTAL_KEY_INSTRUCTIONS
-  "Add additional fields to DILocations to support Key Instructions" OFF)
+  "Add additional fields to DILocations to support Key Instructions" ON)
 
 set(WINDOWS_PREFER_FORWARD_SLASH_DEFAULT OFF)
 if (MINGW)


        


More information about the llvm-commits mailing list