brintos

brintos / llvm-project-archived public Read only

0
0
Text · 339 B · edc65bf Raw
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: Functions with the interrupt attribute cannot have arguments!7define i32 @isr_user(i8 %n) #0 {8  ret i32 09}10 11attributes #0 = { "interrupt"="supervisor" }12