1# RUN: llvm-mc %s -triple=riscv32 -filetype=asm -riscv-add-build-attributes \ 2# RUN: | FileCheck %s --check-prefixes=RV32 3# RUN: llvm-mc %s -triple=riscv64 -filetype=asm -riscv-add-build-attributes \ 4# RUN: | FileCheck %s --check-prefixes=RV64 5# RUN: llvm-mc %s -triple=riscv32 -filetype=asm -riscv-add-build-attributes \ 6# RUN: -mattr=+m | FileCheck %s --check-prefixes=RV32M 7# RUN: llvm-mc %s -triple=riscv64 -filetype=asm -riscv-add-build-attributes \ 8# RUN: -mattr=+m | FileCheck %s --check-prefixes=RV64M 9 10# RV32-NOT: attribute 4 11# RV32: attribute 5, "rv32i2p1" 12 13# RV64-NOT: attribute 4 14# RV64: attribute 5, "rv64i2p1" 15 16# RV32M-NOT: attribute 4 17# RV32M: attribute 5, "rv32i2p1_m2p0_zmmul1p0" 18 19# RV64M-NOT: attribute 4 20# RV64M: attribute 5, "rv64i2p1_m2p0_zmmul1p0" 21