Skip to content

Commit b8db3e7

Browse files
committed
[RISCV,test] Change two -munaligned-access to GCC-supported -mno-strict-align
1 parent 0360f32 commit b8db3e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/Preprocessor/riscv-target-features.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1666,9 +1666,9 @@
16661666
// CHECK-MISALIGNED-AVOID: __riscv_misaligned_avoid 1
16671667

16681668
// RUN: %clang --target=riscv32-unknown-linux-gnu -march=rv32i -E -dM %s \
1669-
// RUN: -munaligned-access -o - | FileCheck %s --check-prefix=CHECK-MISALIGNED-FAST
1669+
// RUN: -mno-strict-align -o - | FileCheck %s --check-prefix=CHECK-MISALIGNED-FAST
16701670
// RUN: %clang --target=riscv64-unknown-linux-gnu -march=rv64i -E -dM %s \
1671-
// RUN: -munaligned-access -o - | FileCheck %s --check-prefix=CHECK-MISALIGNED-FAST
1671+
// RUN: -mno-strict-align -o - | FileCheck %s --check-prefix=CHECK-MISALIGNED-FAST
16721672
// RUN: %clang --target=riscv64-unknown-linux-gnu -mcpu=sifive-p450 -E -dM %s \
16731673
// RUN: -o - | FileCheck %s --check-prefix=CHECK-MISALIGNED-FAST
16741674
// CHECK-MISALIGNED-FAST: __riscv_misaligned_fast 1

0 commit comments

Comments
 (0)