Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / RISCV / rv32zihintntlc-invalid.s
blob04510d1c24235331986b0cc2bc1447bf2fc46800
1 # RUN: not llvm-mc -triple riscv32 -mattr=+zihintntl,+c < %s 2>&1 | FileCheck %s
2 # RUN: not llvm-mc -triple riscv64 -mattr=+zihintntl,+c < %s 2>&1 | FileCheck %s
4 c.ntl.p1 1 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
5 c.ntl.pall 2 # CHECK: :[[@LINE]]:12: error: invalid operand for instruction
6 c.ntl.s1 3 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
7 c.ntl.all 4 # CHECK: :[[@LINE]]:11: error: invalid operand for instruction
9 c.ntl.p1 t0, t1 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
10 c.ntl.pall t0, t1 # CHECK: :[[@LINE]]:12: error: invalid operand for instruction
11 c.ntl.s1 t0, t1 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
12 c.ntl.all t0, t1 # CHECK: :[[@LINE]]:11: error: invalid operand for instruction