| Alex Bradbury | 71f4545 | 2018-01-11 13:36:56 +0000 | [diff] [blame] | 1 | // RUN: %clang -target riscv32-unknown-elf -### %s -fsyntax-only 2>&1 | FileCheck %s |
| 2 | // RUN: %clang -target riscv64-unknown-elf -### %s -fsyntax-only 2>&1 | FileCheck %s |
| 3 | |
| 4 | // CHECK: fno-signed-char |
| Shiva Chen | f78fc38 | 2018-05-29 00:44:15 +0000 | [diff] [blame] | 5 | |
| 6 | // RUN: %clang -target riscv32-unknown-elf -### %s -mrelax 2>&1 | FileCheck %s -check-prefix=RELAX |
| 7 | // RUN: %clang -target riscv32-unknown-elf -### %s -mno-relax 2>&1 | FileCheck %s -check-prefix=NO-RELAX |
| 8 | // RUN: %clang -target riscv32-unknown-elf -### %s 2>&1 | FileCheck %s -check-prefix=DEFAULT |
| 9 | |
| 10 | // RELAX: "-target-feature" "+relax" |
| 11 | // NO-RELAX: "-target-feature" "-relax" |
| Shiva Chen | e3aaeab | 2019-02-17 16:05:51 +0000 | [diff] [blame] | 12 | // DEFAULT: "-target-feature" "+relax" |
| Shiva Chen | f78fc38 | 2018-05-29 00:44:15 +0000 | [diff] [blame] | 13 | // DEFAULT-NOT: "-target-feature" "-relax" |