brintos

brintos / llvm-project-archived public Read only

0
0
Text · 653 B · 3dcfea4 Raw
13 lines · plain
1# RUN: not llvm-mc -triple riscv32 -mattr=+h < %s 2>&1 \2# RUN:     | FileCheck %s -check-prefixes=CHECK-OFFSET3# RUN: not llvm-mc -triple riscv32 < %s 2>&1 \4# RUN:     | FileCheck %s -check-prefixes=CHECK,CHECK-OFFSET5 6hfence.vvma zero, zero # CHECK: :[[@LINE]]:1: error: instruction requires the following: 'H' (Hypervisor)7 8hlv.h   a0, 0(a1) # CHECK: :[[@LINE]]:1: error: instruction requires the following: 'H' (Hypervisor)9 10hlv.wu   a0, 0(a1) # CHECK: :[[@LINE]]:1: error: instruction requires the following: 'H' (Hypervisor), RV64I Base Instruction Set11 12hlv.b   a0, 100(a1) # CHECK-OFFSET: :[[@LINE]]:13: error: optional integer offset must be 013