Skip to content

Commit a312dd6

Browse files
committed
[BPF,test] %clang_cc1 -emit-llvm: remove redundant -S
1 parent c4c3efa commit a312dd6

5 files changed

+5
-10
lines changed

clang/test/CodeGen/bpf-preserve-static-offset-arr.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 2
22
// REQUIRES: bpf-registered-target
3-
// RUN: %clang -cc1 -triple bpf -disable-llvm-passes -S -emit-llvm -o - %s \
4-
// RUN: | FileCheck %s
3+
// RUN: %clang_cc1 -triple bpf -disable-llvm-passes -emit-llvm -o - %s | FileCheck %s
54

65
// Check that call to preserve.static.offset is generated when array
76
// member of a struct marked with __attribute__((preserve_static_offset))

clang/test/CodeGen/bpf-preserve-static-offset-bitfield.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 2
22
// REQUIRES: bpf-registered-target
3-
// RUN: %clang -cc1 -triple bpfel -disable-llvm-passes -S -emit-llvm -o - %s \
4-
// RUN: | FileCheck %s
3+
// RUN: %clang_cc1 -triple bpfel -disable-llvm-passes -emit-llvm -o - %s | FileCheck %s
54

65
// Check that call to preserve.static.offset is generated when bitfield
76
// from a struct marked with __attribute__((preserve_static_offset)) is

clang/test/CodeGen/bpf-preserve-static-offset-lvalue.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 2
22
// REQUIRES: bpf-registered-target
3-
// RUN: %clang -cc1 -triple bpf -disable-llvm-passes -S -emit-llvm -o - %s \
4-
// RUN: | FileCheck %s
3+
// RUN: %clang_cc1 -triple bpf -disable-llvm-passes -emit-llvm -o - %s | FileCheck %s
54

65
// Check that call to preserve.static.offset is generated when field of
76
// a struct marked with __attribute__((preserve_static_offset)) is accessed.

clang/test/CodeGen/bpf-preserve-static-offset-non-bpf.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// REQUIRES: x86-registered-target
2-
// RUN: %clang -cc1 -triple x86_64 -disable-llvm-passes -S -emit-llvm -o - %s \
3-
// RUN: | FileCheck %s
2+
// RUN: %clang_cc1 -triple x86_64 -disable-llvm-passes -emit-llvm -o - %s | FileCheck %s
43

54
// Verify that __attribute__((preserve_static_offset))
65
// has no effect for non-BPF target.

clang/test/CodeGen/bpf-preserve-static-offset-pai.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 2
22
// REQUIRES: bpf-registered-target
3-
// RUN: %clang -cc1 -triple bpf -disable-llvm-passes -S -emit-llvm -o - %s \
4-
// RUN: | FileCheck %s
3+
// RUN: %clang_cc1 -triple bpf -disable-llvm-passes -emit-llvm -o - %s | FileCheck %s
54

65
// Verify that preserve_static_offset does not interfere with
76
// preserve_access_index at IR generation stage.

0 commit comments

Comments
 (0)