From 491403c11d59631e9c0762189a8e8b5dfd54bba3 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Sun, 30 Jan 2022 13:58:21 -0800 Subject: [PATCH] [RISCV] Fix bad CHECK prefix in rv32zbkb-valid.s. "pack t0, t1, zero" disassembles to "pack t0, t1, zero" with Zbkb not "zext.h t0, t1" Part of the test was using a CHECK prefix that doesn't appear on the RUN line. --- llvm/test/MC/RISCV/rv32zbkb-valid.s | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/llvm/test/MC/RISCV/rv32zbkb-valid.s b/llvm/test/MC/RISCV/rv32zbkb-valid.s index 36e0a2792277..52a6d3b9118b 100644 --- a/llvm/test/MC/RISCV/rv32zbkb-valid.s +++ b/llvm/test/MC/RISCV/rv32zbkb-valid.s @@ -32,8 +32,7 @@ orn t0, t1, t2 # CHECK-ASM: encoding: [0xb3,0x42,0x73,0x40] xnor t0, t1, t2 -# CHECK-ASM: pack t0, t1, zero -# CHECK-OBJ: zext.h t0, t1 +# CHECK-ASM-AND-OBJ: pack t0, t1, zero # CHECK-ASM: encoding: [0xb3,0x42,0x03,0x08] pack t0, t1, x0 # CHECK-ASM-AND-OBJ: packh t0, t1, t2