Yuanfang Chen | 4ad7685 | 2020-02-11 23:01:35 -0800 | [diff] [blame] | 1 | ; RUN: not --crash llc -mtriple riscv32-unknown-elf -o - %s \ |
Ana Pazos | 2e4106b | 2018-07-26 17:49:43 +0000 | [diff] [blame] | 2 | ; RUN: 2>&1 | FileCheck %s |
Yuanfang Chen | 4ad7685 | 2020-02-11 23:01:35 -0800 | [diff] [blame] | 3 | ; RUN: not --crash llc -mtriple riscv64-unknown-elf -o - %s \ |
Ana Pazos | 2e4106b | 2018-07-26 17:49:43 +0000 | [diff] [blame] | 4 | ; RUN: 2>&1 | FileCheck %s |
| 5 | |
| 6 | ; CHECK: LLVM ERROR: Function interrupt attribute argument not supported! |
| 7 | define void @isr_user() #0 { |
| 8 | ret void |
| 9 | } |
| 10 | |
| 11 | attributes #0 = { "interrupt"="foo" } |