File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 45
45
46
46
// Error if using attribute without -msve-vector-bits
47
47
// -----------------------------------------------------------------------------
48
- // RUN: not %clang -c %s -target aarch64-none-linux-gnu -march=armv8-a+sve \
49
- // RUN: 2>&1 | FileCheck --check-prefix=CHECK-NO-FLAG-ERROR %s
48
+ // RUN: not %clang -c %s -o /dev/null - target aarch64-none-linux-gnu \
49
+ // RUN: -march=armv8-a+sve 2>&1 | FileCheck --check-prefix=CHECK-NO-FLAG-ERROR %s
50
50
51
51
typedef __SVInt32_t svint32_t ;
52
52
typedef svint32_t noflag __attribute__((arm_sve_vector_bits (256 )));
@@ -55,8 +55,8 @@ typedef svint32_t noflag __attribute__((arm_sve_vector_bits(256)));
55
55
56
56
// Error if attribute vector size != -msve-vector-bits
57
57
// -----------------------------------------------------------------------------
58
- // RUN: not %clang -c %s -target aarch64-none-linux-gnu -march=armv8-a+sve \
59
- // RUN: -msve-vector-bits=128 2>&1 | FileCheck --check-prefix=CHECK-BAD-VECTOR-SIZE-ERROR %s
58
+ // RUN: not %clang -c %s -o /dev/null - target aarch64-none-linux-gnu \
59
+ // RUN: -march=armv8-a+sve - msve-vector-bits=128 2>&1 | FileCheck --check-prefix=CHECK-BAD-VECTOR-SIZE-ERROR %s
60
60
61
61
typedef svint32_t bad_vector_size __attribute__((arm_sve_vector_bits (256 )));
62
62
You can’t perform that action at this time.
0 commit comments