1## Test llvm-mc could handle .attribute correctly. 2 3# RUN: llvm-mc %s -triple=riscv32 -filetype=asm | FileCheck %s 4# RUN: llvm-mc %s -triple=riscv64 -filetype=asm | FileCheck %s 5 6.attribute stack_align, 16 7# CHECK: attribute 4, 16 8 9.attribute arch, "rv32i2p0_m2p0_a2p0_c2p0" 10# CHECK: attribute 5, "rv32i2p0_m2p0_a2p0_c2p0" 11 12.attribute unaligned_access, 0 13# CHECK: attribute 6, 0 14 15.attribute priv_spec, 2 16# CHECK: attribute 8, 2 17 18.attribute priv_spec_minor, 0 19# CHECK: attribute 10, 0 20 21.attribute priv_spec_revision, 0 22# CHECK: attribute 12, 0 23