[llvm] bacb14b - [RISCV][test] Fix a couple of whitespace issues
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 5 13:25:08 PDT 2023
Author: Jessica Clarke
Date: 2023-06-05T21:25:04+01:00
New Revision: bacb14b9f31ede0572af504407696c549362c874
URL: https://github.com/llvm/llvm-project/commit/bacb14b9f31ede0572af504407696c549362c874
DIFF: https://github.com/llvm/llvm-project/commit/bacb14b9f31ede0572af504407696c549362c874.diff
LOG: [RISCV][test] Fix a couple of whitespace issues
Added:
Modified:
llvm/test/MC/RISCV/insn-invalid.s
llvm/test/MC/RISCV/option-arch.s
Removed:
################################################################################
diff --git a/llvm/test/MC/RISCV/insn-invalid.s b/llvm/test/MC/RISCV/insn-invalid.s
index e9fdc4042c1dc..32ebd6867377c 100644
--- a/llvm/test/MC/RISCV/insn-invalid.s
+++ b/llvm/test/MC/RISCV/insn-invalid.s
@@ -19,7 +19,7 @@
.insn r4 0x43, 0, 4, fa0, fa1, fa2, fa3 # CHECK: :[[@LINE]]:21: error: immediate must be an integer in the range [0, 3]
# Unrecognized opcode name
-.insn r UNKNOWN, 0, a1, a2, a3 #CHECK: :[[@LINE]]:9: error: opcode must be a valid opcode name or an immediate in the range [0, 127]
+.insn r UNKNOWN, 0, a1, a2, a3 # CHECK: :[[@LINE]]:9: error: opcode must be a valid opcode name or an immediate in the range [0, 127]
# Make fake mnemonics we use to match these in the tablegened asm match table isn't exposed.
.insn_i 0x13, 0, a0, a1, 13, 14 # CHECK: :[[@LINE]]:1: error: unknown directive
diff --git a/llvm/test/MC/RISCV/option-arch.s b/llvm/test/MC/RISCV/option-arch.s
index 16c20b1fafd7c..60bd8e6ca31d3 100644
--- a/llvm/test/MC/RISCV/option-arch.s
+++ b/llvm/test/MC/RISCV/option-arch.s
@@ -90,7 +90,7 @@ mul a4, ra, s0
lr.w t0, (t1)
# Test arch string without version number
-#CHECK: .option arch, rv32i2p1_m2p0_a2p1_c2p0
+# CHECK: .option arch, rv32i2p1_m2p0_a2p1_c2p0
.option arch, rv32imac
# CHECK-INST: mul a4, ra, s0
# CHECK: # encoding: [0x33,0x87,0x80,0x02]
More information about the llvm-commits
mailing list