[Mlir-commits] [clang] [mlir] [Clang]Check for a valid Index in array before getting it (PR #172399)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Dec 22 15:02:38 PST 2025
================
@@ -0,0 +1,10 @@
+// RUN: %clang_cc1 --std=c++17 -fexperimental-new-constant-interpreter -verify %s
----------------
Sirraide wrote:
```suggestion
// RUN: %clang_cc1 --std=c++17 -verify %s
// RUN: %clang_cc1 --std=c++17 -fexperimental-new-constant-interpreter -verify %s
```
This should test both the old and new constant evaluator.
https://github.com/llvm/llvm-project/pull/172399
More information about the Mlir-commits
mailing list