Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / RISCV / rv32zihintntl-valid.s
blobf7601c3f9003cfd20b4b3400862acd28e7c51275
1 # RUN: llvm-mc %s -triple=riscv32 -mattr=+zihintntl -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=+zihintntl -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=+zihintntl < %s \
6 # RUN: | llvm-objdump --mattr=+zihintntl -M no-aliases -d -r - \
7 # RUN: | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s
8 # RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+zihintntl < %s \
9 # RUN: | llvm-objdump --mattr=+zihintntl -M no-aliases -d -r - \
10 # RUN: | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s
12 # CHECK-ASM-AND-OBJ: add zero, zero, sp
13 # CHECK-ASM: encoding: [0x33,0x00,0x20,0x00]
14 ntl.p1
16 # CHECK-ASM-AND-OBJ: add zero, zero, gp
17 # CHECK-ASM: encoding: [0x33,0x00,0x30,0x00]
18 ntl.pall
20 # CHECK-ASM-AND-OBJ: add zero, zero, tp
21 # CHECK-ASM: encoding: [0x33,0x00,0x40,0x00]
22 ntl.s1
24 # CHECK-ASM-AND-OBJ: add zero, zero, t0
25 # CHECK-ASM: encoding: [0x33,0x00,0x50,0x00]
26 ntl.all