https://github.com/chaitanyav created 
https://github.com/llvm/llvm-project/pull/177290

The test uses __int128 which is not supported on ARM 32-bit targets, causing 
failures on armv7 buildbots. Added an explicit x86_64 triple so that the test 
runs on a target that supports __int128.

>From a23a5738aaaffb9962e5524e0b9bdae3459bcb9d Mon Sep 17 00:00:00 2001
From: NagaChaitanya Vellanki <[email protected]>
Date: Wed, 21 Jan 2026 16:32:41 -0800
Subject: [PATCH] [clang][test] Fix builtin-rotate.c failure on ARM32 by adding
 x86_64 triple

The test uses __int128 which is not supported on ARM 32-bit targets,
causing failures on armv7 buildbots. Added an explicit x86_64 triple
so that the test runs on a target that supports __int128.
---
 clang/test/CodeGen/builtin-rotate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/test/CodeGen/builtin-rotate.c 
b/clang/test/CodeGen/builtin-rotate.c
index 1f498c0294a58..1af8ec65b68ba 100644
--- a/clang/test/CodeGen/builtin-rotate.c
+++ b/clang/test/CodeGen/builtin-rotate.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -ffreestanding %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -ffreestanding %s -emit-llvm 
-o - | FileCheck %s
 
 #include<stdint.h>
 

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

Reply via email to