[clang] b8aeec1 - [clang][test] Specify triple in test/CodeGen/issue155126.c

Timm Bäder via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 27 22:04:32 PDT 2025


Author: Timm Bäder
Date: 2025-08-28T07:04:21+02:00
New Revision: b8aeec1626405ba4858732af44743a5dc5bce023

URL: https://github.com/llvm/llvm-project/commit/b8aeec1626405ba4858732af44743a5dc5bce023
DIFF: https://github.com/llvm/llvm-project/commit/b8aeec1626405ba4858732af44743a5dc5bce023.diff

LOG: [clang][test] Specify triple in test/CodeGen/issue155126.c

Differences in llvm ir output break builders, e.g.
https://lab.llvm.org/buildbot/#/builders/190/builds/26289

Added: 
    

Modified: 
    clang/test/CodeGen/issue155126.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/issue155126.c b/clang/test/CodeGen/issue155126.c
index 618772a42984a..56f00f8e6efed 100644
--- a/clang/test/CodeGen/issue155126.c
+++ b/clang/test/CodeGen/issue155126.c
@@ -1,6 +1,6 @@
 // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 5
-// RUN: %clang_cc1 -std=c23 %s -emit-llvm -o - | FileCheck %s
-// RUN: %clang_cc1 -std=c23 %s -emit-llvm -o - -fexperimental-new-constant-interpreter | FileCheck %s
+// RUN: %clang_cc1 -std=c23 %s -triple x86_64 -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 -std=c23 %s -triple x86_64 -emit-llvm -o - -fexperimental-new-constant-interpreter | FileCheck %s
 
 enum e : bool { b = true };
 // CHECK-LABEL: define dso_local void @foo(


        


More information about the cfe-commits mailing list