Author: Alex Bradbury
Date: 2026-02-16T10:09:32Z
New Revision: c9fa7424c71eacd2d8c20855186c070536934785

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

LOG: [clang][test] Set triple explicitly for attr-no-outline.m test (#181621)

The test fails on targets that have a different LLVM IR lowering (e.g.
RISC-V which produces `signext i32` for the return type). Rather than
complicate the test with more complex patterns, just set the triple
explicitly to x86-64 (as various other generic clang/test/CodeGen* tests
do).

Test was introduced by #163666.

This fixes RISC-V CI.

Added: 
    

Modified: 
    clang/test/CodeGenObjC/attr-no-outline.m

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGenObjC/attr-no-outline.m 
b/clang/test/CodeGenObjC/attr-no-outline.m
index f2f5e790386f1..16d1a9eb867a0 100644
--- a/clang/test/CodeGenObjC/attr-no-outline.m
+++ b/clang/test/CodeGenObjC/attr-no-outline.m
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s --check-prefix=OBJC
-// RUN: %clang_cc1 -emit-llvm -x objective-c++ %s -o - | FileCheck %s 
--check-prefix=OBJCXX
+// RUN: %clang_cc1 -emit-llvm %s -triple x86_64-unknown-linux-gnu -o - | 
FileCheck %s --check-prefix=OBJC
+// RUN: %clang_cc1 -emit-llvm -x objective-c++ %s -triple 
x86_64-unknown-linux-gnu -o - | FileCheck %s --check-prefix=OBJCXX
 
 @interface Test
 - (int)method:(int)x;


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

Reply via email to