[clang] a312dd6 - [BPF, test] %clang_cc1 -emit-llvm: remove redundant -S
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Sat May 4 17:37:42 PDT 2024
Author: Fangrui Song
Date: 2024-05-04T17:37:36-07:00
New Revision: a312dd68c0ce368313164eb92cbdd95192afa3f8
URL: https://github.com/llvm/llvm-project/commit/a312dd68c0ce368313164eb92cbdd95192afa3f8
DIFF: https://github.com/llvm/llvm-project/commit/a312dd68c0ce368313164eb92cbdd95192afa3f8.diff
LOG: [BPF,test] %clang_cc1 -emit-llvm: remove redundant -S
Added:
Modified:
clang/test/CodeGen/bpf-preserve-static-offset-arr.c
clang/test/CodeGen/bpf-preserve-static-offset-bitfield.c
clang/test/CodeGen/bpf-preserve-static-offset-lvalue.c
clang/test/CodeGen/bpf-preserve-static-offset-non-bpf.c
clang/test/CodeGen/bpf-preserve-static-offset-pai.c
Removed:
################################################################################
diff --git a/clang/test/CodeGen/bpf-preserve-static-offset-arr.c b/clang/test/CodeGen/bpf-preserve-static-offset-arr.c
index 295bd2919fc651..4ea8c6f76f625a 100644
--- a/clang/test/CodeGen/bpf-preserve-static-offset-arr.c
+++ b/clang/test/CodeGen/bpf-preserve-static-offset-arr.c
@@ -1,7 +1,6 @@
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 2
// REQUIRES: bpf-registered-target
-// RUN: %clang -cc1 -triple bpf -disable-llvm-passes -S -emit-llvm -o - %s \
-// RUN: | FileCheck %s
+// RUN: %clang_cc1 -triple bpf -disable-llvm-passes -emit-llvm -o - %s | FileCheck %s
// Check that call to preserve.static.offset is generated when array
// member of a struct marked with __attribute__((preserve_static_offset))
diff --git a/clang/test/CodeGen/bpf-preserve-static-offset-bitfield.c b/clang/test/CodeGen/bpf-preserve-static-offset-bitfield.c
index 5983e6d27721c1..b10bd6de1a5799 100644
--- a/clang/test/CodeGen/bpf-preserve-static-offset-bitfield.c
+++ b/clang/test/CodeGen/bpf-preserve-static-offset-bitfield.c
@@ -1,7 +1,6 @@
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 2
// REQUIRES: bpf-registered-target
-// RUN: %clang -cc1 -triple bpfel -disable-llvm-passes -S -emit-llvm -o - %s \
-// RUN: | FileCheck %s
+// RUN: %clang_cc1 -triple bpfel -disable-llvm-passes -emit-llvm -o - %s | FileCheck %s
// Check that call to preserve.static.offset is generated when bitfield
// from a struct marked with __attribute__((preserve_static_offset)) is
diff --git a/clang/test/CodeGen/bpf-preserve-static-offset-lvalue.c b/clang/test/CodeGen/bpf-preserve-static-offset-lvalue.c
index 4f0c359366f5a5..c82ea192bcbaae 100644
--- a/clang/test/CodeGen/bpf-preserve-static-offset-lvalue.c
+++ b/clang/test/CodeGen/bpf-preserve-static-offset-lvalue.c
@@ -1,7 +1,6 @@
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 2
// REQUIRES: bpf-registered-target
-// RUN: %clang -cc1 -triple bpf -disable-llvm-passes -S -emit-llvm -o - %s \
-// RUN: | FileCheck %s
+// RUN: %clang_cc1 -triple bpf -disable-llvm-passes -emit-llvm -o - %s | FileCheck %s
// Check that call to preserve.static.offset is generated when field of
// a struct marked with __attribute__((preserve_static_offset)) is accessed.
diff --git a/clang/test/CodeGen/bpf-preserve-static-offset-non-bpf.c b/clang/test/CodeGen/bpf-preserve-static-offset-non-bpf.c
index 3fe8d2517fe30a..0ddf603856a447 100644
--- a/clang/test/CodeGen/bpf-preserve-static-offset-non-bpf.c
+++ b/clang/test/CodeGen/bpf-preserve-static-offset-non-bpf.c
@@ -1,6 +1,5 @@
// REQUIRES: x86-registered-target
-// RUN: %clang -cc1 -triple x86_64 -disable-llvm-passes -S -emit-llvm -o - %s \
-// RUN: | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64 -disable-llvm-passes -emit-llvm -o - %s | FileCheck %s
// Verify that __attribute__((preserve_static_offset))
// has no effect for non-BPF target.
diff --git a/clang/test/CodeGen/bpf-preserve-static-offset-pai.c b/clang/test/CodeGen/bpf-preserve-static-offset-pai.c
index df1f33b1a66415..e0d868df616ec4 100644
--- a/clang/test/CodeGen/bpf-preserve-static-offset-pai.c
+++ b/clang/test/CodeGen/bpf-preserve-static-offset-pai.c
@@ -1,7 +1,6 @@
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 2
// REQUIRES: bpf-registered-target
-// RUN: %clang -cc1 -triple bpf -disable-llvm-passes -S -emit-llvm -o - %s \
-// RUN: | FileCheck %s
+// RUN: %clang_cc1 -triple bpf -disable-llvm-passes -emit-llvm -o - %s | FileCheck %s
// Verify that preserve_static_offset does not interfere with
// preserve_access_index at IR generation stage.
More information about the cfe-commits
mailing list