xref: /aosp_15_r20/external/llvm/test/CodeGen/Mips/interrupt-attr-64-error.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: not llc -mcpu=mips64r6 -march=mipsel -target-abi n64 -relocation-model=static < %s 2>%t
2*9880d681SAndroid Build Coastguard Worker; RUN: FileCheck %s < %t
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Worker; CHECK: LLVM ERROR: "interrupt" attribute is only supported for the O32 ABI on MIPS32R2+ at the present time.
5*9880d681SAndroid Build Coastguard Workerdefine i32 @isr_sw0() #0 {
6*9880d681SAndroid Build Coastguard Worker  ret i32 0
7*9880d681SAndroid Build Coastguard Worker}
8*9880d681SAndroid Build Coastguard Worker
9*9880d681SAndroid Build Coastguard Workerattributes #0 = { "interrupt"="sw0" }
10