1 # RUN: llvm-mc %s -triple=riscv32 -mattr=+zihintpause -M no-aliases \
2 # RUN: | FileCheck -check-prefixes=CHECK-S-OBJ-NOALIAS %s
3 # RUN: llvm-mc %s -triple=riscv32 -mattr=+zihintpause \
4 # RUN: | FileCheck -check-prefixes=CHECK-S-OBJ %s
5 # RUN: llvm-mc %s -triple=riscv64 -mattr=+zihintpause -M no-aliases \
6 # RUN: | FileCheck -check-prefixes=CHECK-S-OBJ-NOALIAS %s
7 # RUN: llvm-mc %s -triple=riscv64 -mattr=+zihintpause \
8 # RUN: | FileCheck -check-prefixes=CHECK-S-OBJ %s
9 # RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+zihintpause < %s \
10 # RUN: | llvm-objdump --mattr=+zihintpause -d -r -M no-aliases - \
11 # RUN: | FileCheck -check-prefixes=CHECK-S-OBJ-NOALIAS %s
12 # RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+zihintpause < %s \
13 # RUN: | llvm-objdump --mattr=+zihintpause -d -r - \
14 # RUN: | FileCheck -check-prefixes=CHECK-S-OBJ %s
15 # RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+zihintpause < %s \
16 # RUN: | llvm-objdump --mattr=+zihintpause -d -r -M no-aliases - \
17 # RUN: | FileCheck -check-prefixes=CHECK-S-OBJ-NOALIAS %s
18 # RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+zihintpause < %s \
19 # RUN: | llvm-objdump --mattr=+zihintpause -d -r - \
20 # RUN: | FileCheck -check-prefixes=CHECK-S-OBJ %s
22 # CHECK-S-OBJ-NOALIAS: fence w, 0