[llvm] 491403c - [RISCV] Fix bad CHECK prefix in rv32zbkb-valid.s.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 30 17:10:43 PST 2022
Author: Craig Topper
Date: 2022-01-30T17:09:55-08:00
New Revision: 491403c11d59631e9c0762189a8e8b5dfd54bba3
URL: https://github.com/llvm/llvm-project/commit/491403c11d59631e9c0762189a8e8b5dfd54bba3
DIFF: https://github.com/llvm/llvm-project/commit/491403c11d59631e9c0762189a8e8b5dfd54bba3.diff
LOG: [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.
Added:
Modified:
llvm/test/MC/RISCV/rv32zbkb-valid.s
Removed:
################################################################################
diff --git a/llvm/test/MC/RISCV/rv32zbkb-valid.s b/llvm/test/MC/RISCV/rv32zbkb-valid.s
index 36e0a27922776..52a6d3b9118b4 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
More information about the llvm-commits
mailing list