https://github.com/RKSimon created 
https://github.com/llvm/llvm-project/pull/161172

Part of #155814

>From 6ac0070abb8419852480056a5dc5d875c96c461e Mon Sep 17 00:00:00 2001
From: Simon Pilgrim <[email protected]>
Date: Mon, 29 Sep 2025 12:14:41 +0100
Subject: [PATCH] [clang][X86] bmi2-builtins.c - add
 -fexperimental-new-constant-interpreter bytecode test coverage

Part of #155814
---
 clang/test/CodeGen/X86/bmi2-builtins.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/clang/test/CodeGen/X86/bmi2-builtins.c 
b/clang/test/CodeGen/X86/bmi2-builtins.c
index 48424f553768b..1b2cb9048adb2 100644
--- a/clang/test/CodeGen/X86/bmi2-builtins.c
+++ b/clang/test/CodeGen/X86/bmi2-builtins.c
@@ -3,6 +3,11 @@
 // RUN: %clang_cc1 -x c++ -ffreestanding %s -triple=x86_64-apple-darwin 
-target-feature +bmi2 -emit-llvm -o - | FileCheck %s
 // RUN: %clang_cc1 -x c++ -ffreestanding %s -triple=i386-apple-darwin 
-target-feature +bmi2 -emit-llvm -o - | FileCheck %s --check-prefix=B32
 
+// RUN: %clang_cc1 -x c -ffreestanding %s -triple=x86_64-apple-darwin 
-target-feature +bmi2 -emit-llvm -o - -fexperimental-new-constant-interpreter | 
FileCheck %s
+// RUN: %clang_cc1 -x c -ffreestanding %s -triple=i386-apple-darwin 
-target-feature +bmi2 -emit-llvm -o - -fexperimental-new-constant-interpreter | 
FileCheck %s --check-prefix=B32
+// RUN: %clang_cc1 -x c++ -ffreestanding %s -triple=x86_64-apple-darwin 
-target-feature +bmi2 -emit-llvm -o - -fexperimental-new-constant-interpreter | 
FileCheck %s
+// RUN: %clang_cc1 -x c++ -ffreestanding %s -triple=i386-apple-darwin 
-target-feature +bmi2 -emit-llvm -o - -fexperimental-new-constant-interpreter | 
FileCheck %s --check-prefix=B32
+
 
 #include <immintrin.h>
 

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to