[NFC][analyzer][docs] Crosslink MallocChecker's ownership attributes (#121939)
[llvm-project.git] / llvm / test / MC / RISCV / rv32h-invalid.s
blob3dcfea4898c269cc4f04a1d85873bb61293c0c83
1 # RUN: not llvm-mc -triple riscv32 -mattr=+h < %s 2>&1 \
2 # RUN: | FileCheck %s -check-prefixes=CHECK-OFFSET
3 # RUN: not llvm-mc -triple riscv32 < %s 2>&1 \
4 # RUN: | FileCheck %s -check-prefixes=CHECK,CHECK-OFFSET
6 hfence.vvma zero, zero # CHECK: :[[@LINE]]:1: error: instruction requires the following: 'H' (Hypervisor)
8 hlv.h a0, 0(a1) # CHECK: :[[@LINE]]:1: error: instruction requires the following: 'H' (Hypervisor)
10 hlv.wu a0, 0(a1) # CHECK: :[[@LINE]]:1: error: instruction requires the following: 'H' (Hypervisor), RV64I Base Instruction Set
12 hlv.b a0, 100(a1) # CHECK-OFFSET: :[[@LINE]]:13: error: optional integer offset must be 0