xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/fast-isel-args-fail2.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: not llc < %s -fast-isel -fast-isel-abort=2 -mtriple=x86_64-apple-darwin10
2*9880d681SAndroid Build Coastguard Worker; REQUIRES: asserts
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Worker%struct.s0 = type { x86_fp80, x86_fp80 }
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Worker; FastISel cannot handle this case yet. Make sure that we abort.
7*9880d681SAndroid Build Coastguard Workerdefine i8* @args_fail(%struct.s0* byval nocapture readonly align 16 %y) {
8*9880d681SAndroid Build Coastguard Worker  %1 = bitcast %struct.s0* %y to i8*
9*9880d681SAndroid Build Coastguard Worker  ret i8* %1
10*9880d681SAndroid Build Coastguard Worker}
11