Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / RISCV / rv32zbkb-only-valid.s
bloba04ff04ba3f10e15653766f7af9266c7de339ede
1 # RUN: llvm-mc %s -triple=riscv32 -mattr=+zbkb -show-encoding \
2 # RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
3 # RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+zbkb < %s \
4 # RUN: | llvm-objdump --mattr=+zbkb -d -r - \
5 # RUN: | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s
7 # CHECK-ASM-AND-OBJ: rev8 t0, t1
8 # CHECK-ASM: encoding: [0x93,0x52,0x83,0x69]
9 rev8 t0, t1
11 # CHECK-ASM-AND-OBJ: zip t0, t1
12 # CHECK-ASM: encoding: [0x93,0x12,0xf3,0x08]
13 zip t0, t1
14 # CHECK-S-OBJ-NOALIAS: unzip t0, t1
15 # CHECK-ASM: encoding: [0x93,0x52,0xf3,0x08]
16 unzip t0, t1