Skip to content

Conversation

tbaederr
Copy link
Contributor

This test works with the bytecode interpreter, so add some additional testing.

This test works with the bytecode interpreter, so add some additional
testing.
@llvmbot llvmbot added the clang Clang issues not falling into any other category label Aug 26, 2025
@llvmbot
Copy link
Member

llvmbot commented Aug 26, 2025

@llvm/pr-subscribers-clang

Author: Timm Baeder (tbaederr)

Changes

This test works with the bytecode interpreter, so add some additional testing.


Full diff: https://github.com/llvm/llvm-project/pull/155363.diff

1 Files Affected:

  • (modified) clang/test/CodeGen/builtins.c (+1)
diff --git a/clang/test/CodeGen/builtins.c b/clang/test/CodeGen/builtins.c
index aa9965b815983..ef08a1546e974 100644
--- a/clang/test/CodeGen/builtins.c
+++ b/clang/test/CodeGen/builtins.c
@@ -1,6 +1,7 @@
 // RUN: %clang_cc1 -emit-llvm -o %t %s
 // RUN: not grep __builtin %t
 // RUN: %clang_cc1 -emit-llvm -triple x86_64-darwin-apple -o - %s | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm -triple x86_64-darwin-apple -o - %s -fexperimental-new-constant-interpreter | FileCheck %s
 
 int printf(const char *, ...);
 

@tbaederr tbaederr merged commit 25bedd0 into llvm:main Aug 26, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang Clang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants