Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / RISCV / Zawrs-valid.s
blob0bdc5708896be38d6e5dc50ad2dfbd9878648d98
1 # RUN: llvm-mc %s -triple=riscv32 -mattr=+zawrs -riscv-no-aliases -show-encoding \
2 # RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
3 # RUN: llvm-mc %s -triple=riscv64 -mattr=+zawrs -riscv-no-aliases -show-encoding \
4 # RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
5 # RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+zawrs < %s \
6 # RUN: | llvm-objdump --mattr=+zawrs -M no-aliases -d -r - \
7 # RUN: | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s
8 # RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+zawrs < %s \
9 # RUN: | llvm-objdump --mattr=+zawrs -M no-aliases -d -r - \
10 # RUN: | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s
12 # CHECK-ASM-AND-OBJ: wrs.nto
13 # CHECK-ASM: encoding: [0x73,0x00,0xd0,0x00]
14 wrs.nto
16 # CHECK-ASM-AND-OBJ: wrs.sto
17 # CHECK-ASM: encoding: [0x73,0x00,0xd0,0x01]
18 wrs.sto