Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ee29cb1

Browse files
authored
clang: Fix using -march=amdgcn in some r600 run lines (#196745)
1 parent 2d8bcb5 commit ee29cb1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

clang/test/Preprocessor/predefined-arch-macros.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4628,13 +4628,13 @@
46284628

46294629
// Begin r600 tests ----------------
46304630

4631-
// RUN: %clang -march=amdgcn -E -dM %s -o - 2>&1 \
4631+
// RUN: %clang -E -dM %s -o - 2>&1 \
46324632
// RUN: -target r600-unknown-unknown \
46334633
// RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_R600
46344634
// CHECK_R600: #define __R600__ 1
46354635
// CHECK_R600-NOT: #define __HAS_FMAF__ 1
46364636

4637-
// RUN: %clang -march=amdgcn -mcpu=cypress -E -dM %s -o - 2>&1 \
4637+
// RUN: %clang -mcpu=cypress -E -dM %s -o - 2>&1 \
46384638
// RUN: -target r600-unknown-unknown \
46394639
// RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_R600_FP64
46404640
// CHECK_R600_FP64-DAG: #define __R600__ 1

0 commit comments

Comments
 (0)