21 lines · plain
1# RUN: llvm-mc %s -triple=riscv32 -filetype=asm -riscv-add-build-attributes \2# RUN: | FileCheck %s --check-prefixes=RV323# RUN: llvm-mc %s -triple=riscv64 -filetype=asm -riscv-add-build-attributes \4# RUN: | FileCheck %s --check-prefixes=RV645# RUN: llvm-mc %s -triple=riscv32 -filetype=asm -riscv-add-build-attributes \6# RUN: -mattr=+m | FileCheck %s --check-prefixes=RV32M7# RUN: llvm-mc %s -triple=riscv64 -filetype=asm -riscv-add-build-attributes \8# RUN: -mattr=+m | FileCheck %s --check-prefixes=RV64M9 10# RV32-NOT: attribute 411# RV32: attribute 5, "rv32i2p1"12 13# RV64-NOT: attribute 414# RV64: attribute 5, "rv64i2p1"15 16# RV32M-NOT: attribute 417# RV32M: attribute 5, "rv32i2p1_m2p0_zmmul1p0"18 19# RV64M-NOT: attribute 420# RV64M: attribute 5, "rv64i2p1_m2p0_zmmul1p0"21