forked from OSchip/llvm-project
[Test] Use cc1 interface in more tests (NFC)
There doesn't seem to be any particular reason why these tests use the driver interface rather than the cc1 interface, which is typically used in CodeGen tests.
This commit is contained in:
parent
1ff022e21b
commit
b1f610fec5
|
@ -1,5 +1,5 @@
|
|||
// REQUIRES: bpf-registered-target
|
||||
// RUN: %clang -target bpf -emit-llvm -S -g -Xclang -disable-llvm-passes %s -o - | FileCheck %s
|
||||
// RUN: %clang_cc1 -triple bpf -emit-llvm -debug-info-kind=limited -disable-llvm-passes %s -o - | FileCheck %s
|
||||
|
||||
#define __reloc__ __attribute__((preserve_access_index))
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// REQUIRES: bpf-registered-target
|
||||
// RUN: %clang -target bpf -emit-llvm -S -g -Xclang -disable-llvm-passes %s -o - | FileCheck %s
|
||||
// RUN: %clang_cc1 -triple bpf -emit-llvm -debug-info-kind=limited -disable-llvm-passes %s -o - | FileCheck %s
|
||||
|
||||
#define __reloc__ __attribute__((preserve_access_index))
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// REQUIRES: bpf-registered-target
|
||||
// RUN: %clang -target bpf -emit-llvm -S -g -Xclang -disable-llvm-passes %s -o - | FileCheck %s
|
||||
// RUN: %clang_cc1 -triple bpf -emit-llvm -debug-info-kind=limited -disable-llvm-passes %s -o - | FileCheck %s
|
||||
|
||||
#define __reloc__ __attribute__((preserve_access_index))
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// REQUIRES: bpf-registered-target
|
||||
// RUN: %clang -target bpf -emit-llvm -S -g -Xclang -disable-llvm-passes %s -o - | FileCheck %s
|
||||
// RUN: %clang_cc1 -triple bpf -emit-llvm -debug-info-kind=limited -disable-llvm-passes %s -o - | FileCheck %s
|
||||
|
||||
#define __reloc__ __attribute__((preserve_access_index))
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// REQUIRES: bpf-registered-target
|
||||
// RUN: %clang -target bpf -emit-llvm -S -g -Xclang -disable-llvm-passes %s -o - | FileCheck %s
|
||||
// RUN: %clang_cc1 -triple bpf -emit-llvm -debug-info-kind=limited -disable-llvm-passes %s -o - | FileCheck %s
|
||||
|
||||
#define __reloc__ __attribute__((preserve_access_index))
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// REQUIRES: bpf-registered-target
|
||||
// RUN: %clang -target bpf -emit-llvm -S -g -Xclang -disable-llvm-passes %s -o - | FileCheck %s
|
||||
// RUN: %clang_cc1 -triple bpf -emit-llvm -debug-info-kind=limited -disable-llvm-passes %s -o - | FileCheck %s
|
||||
|
||||
#define __reloc__ __attribute__((preserve_access_index))
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// REQUIRES: bpf-registered-target
|
||||
// RUN: %clang -target bpf -emit-llvm -S -g -Xclang -disable-llvm-passes %s -o - | FileCheck %s
|
||||
// RUN: %clang_cc1 -triple bpf -emit-llvm -debug-info-kind=limited -disable-llvm-passes %s -o - | FileCheck %s
|
||||
|
||||
#define __reloc__ __attribute__((preserve_access_index))
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// REQUIRES: bpf-registered-target
|
||||
// RUN: %clang -target bpf -emit-llvm -S -g -Xclang -disable-llvm-passes %s -o - | FileCheck %s
|
||||
// RUN: %clang_cc1 -triple bpf -emit-llvm -debug-info-kind=limited -disable-llvm-passes %s -o - | FileCheck %s
|
||||
|
||||
#define __reloc__ __attribute__((preserve_access_index))
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// REQUIRES: bpf-registered-target
|
||||
// RUN: %clang -target bpf -emit-llvm -S -Xclang -target-feature -Xclang +alu32 %s -o - | FileCheck %s
|
||||
// RUN: %clang -target bpf -emit-llvm -S -mcpu=v3 %s -o - | FileCheck %s
|
||||
// RUN: %clang_cc1 -triple bpf -emit-llvm -target-feature +alu32 %s -o - | FileCheck %s
|
||||
// RUN: %clang_cc1 -triple bpf -emit-llvm -target-cpu v3 %s -o - | FileCheck %s
|
||||
|
||||
void test_generic_constraints(int var32, long var64) {
|
||||
asm("%0 = %1"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: %clang -target x86_64 -emit-llvm -S -g %s -o - | FileCheck %s
|
||||
// RUN: %clang_cc1 -triple x86_64 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s
|
||||
|
||||
#define _(x) (__builtin_preserve_access_index(x))
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: %clang -target x86_64 -emit-llvm -S -g %s -o - | FileCheck %s
|
||||
// RUN: %clang_cc1 -triple x86_64 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s
|
||||
|
||||
#define _(x) (__builtin_preserve_access_index(x))
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// REQUIRES: bpf-registered-target
|
||||
// RUN: %clang -target bpf -emit-llvm -S -g -Xclang -disable-llvm-passes %s -o - | FileCheck %s
|
||||
// RUN: %clang_cc1 -triple bpf -emit-llvm -debug-info-kind=limited -disable-llvm-passes %s -o - | FileCheck %s
|
||||
|
||||
#pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
|
||||
typedef struct {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: %clang -target x86_64 -emit-llvm -S -g %s -o - | FileCheck %s
|
||||
// RUN: %clang_cc1 -triple x86_64 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s
|
||||
|
||||
#define _(x) (__builtin_preserve_access_index(x))
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// REQUIRES: bpf-registered-target
|
||||
// RUN: %clang -target bpf -emit-llvm -S -g -Xclang -disable-llvm-passes %s -o - | FileCheck %s
|
||||
// RUN: %clang_cc1 -triple bpf -emit-llvm -debug-info-kind=limited -disable-llvm-passes %s -o - | FileCheck %s
|
||||
|
||||
#define _(x, y) (__builtin_preserve_field_info((x), (y)))
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// REQUIRES: bpf-registered-target
|
||||
// RUN: %clang -target bpf -emit-llvm -S -g -Xclang -disable-llvm-passes %s -o - | FileCheck %s
|
||||
// RUN: %clang_cc1 -triple bpf -emit-llvm -debug-info-kind=limited -disable-llvm-passes %s -o - | FileCheck %s
|
||||
|
||||
#define _(x, y) (__builtin_preserve_field_info((x), (y)))
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// REQUIRES: bpf-registered-target
|
||||
// RUN: %clang -target bpf -emit-llvm -S -g -Xclang -disable-llvm-passes %s -o - | FileCheck %s
|
||||
// RUN: %clang_cc1 -triple bpf -emit-llvm -debug-info-kind=limited -disable-llvm-passes %s -o - | FileCheck %s
|
||||
|
||||
#define _(x, y) (__builtin_preserve_type_info((x), (y)))
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// REQUIRES: bpf-registered-target
|
||||
// RUN: %clang -target bpf -emit-llvm -S -g -Xclang -disable-llvm-passes %s -o - | FileCheck %s
|
||||
// RUN: %clang_cc1 -triple bpf -emit-llvm -debug-info-kind=limited -disable-llvm-passes %s -o - | FileCheck %s
|
||||
|
||||
#define _(x, y) (__builtin_preserve_enum_value((x), (y)))
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s
|
||||
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
|
||||
|
||||
typedef float float4 __attribute__((ext_vector_type(4)));
|
||||
typedef unsigned int uint4 __attribute__((ext_vector_type(4)));
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: %clang -target mipsel-unknown-linux -S -o - -emit-llvm %s \
|
||||
// RUN: %clang_cc1 -triple mipsel-unknown-linux -o - -emit-llvm %s \
|
||||
// RUN: | FileCheck %s
|
||||
|
||||
// This checks that the frontend will accept inline asm memory constraints.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: %clang -target mipsel-unknown-linux -S -o - -emit-llvm %s \
|
||||
// RUN: %clang_cc1 -triple mipsel-unknown-linux -o - -emit-llvm %s \
|
||||
// RUN: | FileCheck %s
|
||||
|
||||
// This checks that the frontend will accept inline asm operand modifiers
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: %clang -target mips64el-unknown-linux -O3 -S -mabi=n64 -o - -emit-llvm %s | FileCheck %s
|
||||
// RUN: %clang_cc1 -triple mips64el-unknown-linux -O3 -target-abi n64 -o - -emit-llvm %s | FileCheck %s
|
||||
|
||||
class B {
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue