[clang] [llvm] [KeyInstr] Add docs (PR #137991)

Jeremy Morse via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 14 06:55:30 PDT 2025


================
@@ -0,0 +1,46 @@
+# Key Instructions in Clang
+
+Key Instructions is an LLVM feature that reduces the jumpiness of optimized code debug stepping. This document explains how Clang applies the necessary metadata.
----------------
jmorse wrote:

This provides a negative reason (reduces jumpiness), IMO we also want to provide a few words about the things positively added by KIs. "reduces jumpiness [...] by discriminating the 'significance' of the instructions making up a statement", perhaps?

https://github.com/llvm/llvm-project/pull/137991


More information about the llvm-commits mailing list