[clang] [test][AArch64] Fix test in non-writeable dir (PR #119448)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 10 12:09:59 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Jordan Rupprecht (rupprecht)
<details>
<summary>Changes</summary>
cc1a2ea61e3f8e790125b10d9ec4e7d179156ddf adds a test which can fail if the output directory is not writeable. Following the pattern of other tests in this package, use `-o -` to print the IR to stdout instead of to a file.
---
Full diff: https://github.com/llvm/llvm-project/pull/119448.diff
1 Files Affected:
- (modified) clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_fp8.c (+1-1)
``````````diff
diff --git a/clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_fp8.c b/clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_fp8.c
index aafd42f798d935..2e94c2314f1824 100644
--- a/clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_fp8.c
+++ b/clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_fp8.c
@@ -1,6 +1,6 @@
// REQUIRES: aarch64-registered-target
-// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -verify -emit-llvm %s
+// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -verify -emit-llvm -o - %s
#include <arm_sve.h>
``````````
</details>
https://github.com/llvm/llvm-project/pull/119448
More information about the cfe-commits
mailing list