12 lines · plain
1; RUN: not llc -mtriple riscv32-unknown-elf -o - %s \2; RUN: 2>&1 | FileCheck %s3; RUN: not llc -mtriple riscv64-unknown-elf -o - %s \4; RUN: 2>&1 | FileCheck %s5 6; CHECK: LLVM ERROR: Function interrupt attribute argument not supported!7define void @isr_user() #0 {8 ret void9}10 11attributes #0 = { "interrupt"="foo" }12