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

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 19 12:54:30 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
----------------
MaskRay wrote:

The convention is to indent continuation lines by 2 spaces. Some tests do not follow the convention. You can make them follow the convention as you are modifying lines.

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


More information about the llvm-commits mailing list