[clang] [clang codegen] Fix the ci fail for PR96025 (PR #99267)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 16 20:09:30 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Allen (vfdff)
<details>
<summary>Changes</summary>
Different targets may have different flag on arguments, so restrict the triple to avoid ci fail.
---
Full diff: https://github.com/llvm/llvm-project/pull/99267.diff
1 Files Affected:
- (modified) clang/test/CodeGen/math-libcalls-tbaa.cpp (+2-2)
``````````diff
diff --git a/clang/test/CodeGen/math-libcalls-tbaa.cpp b/clang/test/CodeGen/math-libcalls-tbaa.cpp
index 5b93079492bc5..0b231d474df77 100644
--- a/clang/test/CodeGen/math-libcalls-tbaa.cpp
+++ b/clang/test/CodeGen/math-libcalls-tbaa.cpp
@@ -1,7 +1,7 @@
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 5
-// RUN: %clang_cc1 -fmath-errno -O3 -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefixes=CHECK,NoNewStructPathTBAA
-// RUN: %clang_cc1 -fmath-errno -O3 -new-struct-path-tbaa -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefixes=CHECK,NewStructPathTBAA
+// RUN: %clang_cc1 -triple=aarch64-unknown-linux-gnu -fmath-errno -O3 -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefixes=CHECK,NoNewStructPathTBAA
+// RUN: %clang_cc1 -triple=aarch64-unknown-linux-gnu -fmath-errno -O3 -new-struct-path-tbaa -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefixes=CHECK,NewStructPathTBAA
extern "C" float expf(float);
``````````
</details>
https://github.com/llvm/llvm-project/pull/99267
More information about the cfe-commits
mailing list