[ValueTracking] Extend r251146 to catch a fairly common case
[oota-llvm.git] / test / CodeGen / Mips / interrupt-attr-fail.ll
1 ; RUN: llc -mcpu=mips32 -march=mipsel -relocation-model=static -o - %s | FileCheck %s
2 ; XFAIL: *
3
4 define void @isr_sw0() #0 {
5   call void bitcast (void (...)* @write to void ()*)()
6 }
7
8 declare void @write(...)
9
10 attributes #0 = { "interrupt"="sw0" }
11