https://github.com/erichkeane created 
https://github.com/llvm/llvm-project/pull/234246

None

>From bc184bc520f7999f8414f248d4fc3d1ac99b152d Mon Sep 17 00:00:00 2001
From: erichkeane <[email protected]>
Date: Wed, 21 Oct 2026 08:33:51 -0700
Subject: [PATCH] [CIR] Fixup emit-cir-bc test that didn't have at triple.

---
 clang/test/CIR/Driver/emit-cir-bc.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/clang/test/CIR/Driver/emit-cir-bc.c 
b/clang/test/CIR/Driver/emit-cir-bc.c
index 78bc4a3b9a6c14..240b9c26b76f92 100644
--- a/clang/test/CIR/Driver/emit-cir-bc.c
+++ b/clang/test/CIR/Driver/emit-cir-bc.c
@@ -20,9 +20,9 @@
 // REJECT: unknown argument '-emit-cir-bc'
 
 // The driver accepts .cirbc inputs, so bytecode round-trips through it.
-// RUN: %clang -fclangir -emit-cir -c %s -o %t.cirbc
-// RUN: %clang -fclangir -x cir-bc -emit-cir %t.cirbc -o - | FileCheck %s 
--check-prefix=ROUNDTRIP
-// RUN: %clang -fclangir -emit-cir %t.cirbc -o - | FileCheck %s 
--check-prefix=ROUNDTRIP
+// RUN: %clang --target=x86_64-linux-gnu -fclangir -emit-cir -c %s -o %t.cirbc
+// RUN: %clang --target=x86_64-linux-gnu -fclangir -x cir-bc -emit-cir 
%t.cirbc -o - | FileCheck %s --check-prefix=ROUNDTRIP
+// RUN: %clang --target=x86_64-linux-gnu -fclangir -emit-cir %t.cirbc -o - | 
FileCheck %s --check-prefix=ROUNDTRIP
 // ROUNDTRIP: cir.func {{.*}}@foo()
 
 void foo() {}

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

Reply via email to