16 lines · plain
1# RUN: llvm-mc %s -triple=riscv64 -mattr=+ztso -M no-aliases 2>&1 | FileCheck %s2# RUN: llvm-mc %s -triple=riscv32 -mattr=+ztso -M no-aliases 2>&1 | FileCheck %s3 4# Note: Ztso doesn't add or remove any instructions, so this is basically5# just checking that a) we accepted the attribute name, and b) codegen did6# not change. The ELF header flag is tested in elf-flags.s7 8# CHECK-NOT: not a recognized feature9 10# CHECK: fence iorw, iorw11fence iorw, iorw12# CHECK: fence.tso13fence.tso14# CHECK: fence.i15fence.i16