From bacb14b9f31ede0572af504407696c549362c874 Mon Sep 17 00:00:00 2001 From: Jessica Clarke Date: Mon, 5 Jun 2023 21:25:04 +0100 Subject: [PATCH] [RISCV][test] Fix a couple of whitespace issues --- llvm/test/MC/RISCV/insn-invalid.s | 2 +- llvm/test/MC/RISCV/option-arch.s | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/test/MC/RISCV/insn-invalid.s b/llvm/test/MC/RISCV/insn-invalid.s index e9fdc4042c1d..32ebd6867377 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 16c20b1fafd7..60bd8e6ca31d 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]