[clang] 8edeedf - [test] Fix CodeGen/arm-crc32.c to not write an output to CWD
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 21 16:13:34 PDT 2022
Author: Fangrui Song
Date: 2022-09-21T16:13:25-07:00
New Revision: 8edeedfb21a4a2c07536e1026a3f67d77e57b144
URL: https://github.com/llvm/llvm-project/commit/8edeedfb21a4a2c07536e1026a3f67d77e57b144
DIFF: https://github.com/llvm/llvm-project/commit/8edeedfb21a4a2c07536e1026a3f67d77e57b144.diff
LOG: [test] Fix CodeGen/arm-crc32.c to not write an output to CWD
CWD may be read-only in some testing environments.
Added:
Modified:
clang/test/CodeGen/arm-crc32.c
Removed:
################################################################################
diff --git a/clang/test/CodeGen/arm-crc32.c b/clang/test/CodeGen/arm-crc32.c
index d6e3b1b9e54d..1a9334354f7f 100644
--- a/clang/test/CodeGen/arm-crc32.c
+++ b/clang/test/CodeGen/arm-crc32.c
@@ -1,6 +1,6 @@
// RUN: %clang_cc1 -triple armv8-none-linux-gnueabi -target-feature +crc \
// RUN: -disable-O0-optnone -emit-llvm -o - %s | opt -S -mem2reg | FileCheck %s
-// RUN: %clang_cc1 -verify -emit-llvm -triple armv7-none-linux-gnueabi %s
+// RUN: %clang_cc1 -verify -emit-llvm-only -triple armv7-none-linux-gnueabi %s
int crc32b(int a, char b)
{
More information about the cfe-commits
mailing list