[clang] [clang][bytecode] Update high-level documentation (PR #202596)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 10 07:59:54 PDT 2026


Timm =?utf-8?q?B=C3=A4der?= <tbaeder at redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/202596 at github.com>


================
@@ -8,12 +8,17 @@ Constant Interpreter
 Introduction
 ============
 
-The constexpr interpreter aims to replace the existing tree evaluator in
-clang, improving performance on constructs which are executed inefficiently
-by the evaluator. The interpreter is activated using the following flags:
+The bytecode interpreter aims to replace the existing AST traversal-based
+evaluator clang, improving performance on constructs which are executed
+inefficiently by the evaluator. The interpreter is activated by passing
+``-fexperimental-new-constant-interpreter`` to clang.
+
+Since clang 23, the bytecode interpreter can also be enabled by default
----------------
AaronBallman wrote:

```suggestion
Since Clang 23, the bytecode interpreter can also be enabled by default
```

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


More information about the cfe-commits mailing list