[clang] [llvm] [RISCV] Relax march string order constraint (PR #78120)

Piyou Chen via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 21 04:52:42 PST 2024


================
@@ -156,9 +156,8 @@
 // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32L %s
 // RV32L: error: invalid arch name 'rv32l'
 
-// RUN: not %clang --target=riscv32-unknown-elf -march=rv32imadf -### %s \
-// RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32IMADF %s
-// RV32IMADF: error: invalid arch name 'rv32imadf'
+// RUN: %clang --target=riscv32-unknown-elf -march=rv32imadf -### %s \
+// RUN: -fsyntax-only 2>&1 | FileCheck %s
----------------
BeMg wrote:

Add two more space for some RUN LINE.

https://github.com/llvm/llvm-project/pull/78120


More information about the cfe-commits mailing list