xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/fast-isel-bail.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=x86 -O0
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker; This file is for regression tests for cases where FastISel needs
4*9880d681SAndroid Build Coastguard Worker; to gracefully bail out and let SelectionDAGISel take over.
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Worker	%0 = type { i64, i8* }		; type %0
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Workerdeclare void @bar(%0)
9*9880d681SAndroid Build Coastguard Worker
10*9880d681SAndroid Build Coastguard Workerdefine fastcc void @foo() nounwind {
11*9880d681SAndroid Build Coastguard Workerentry:
12*9880d681SAndroid Build Coastguard Worker	call void @bar(%0 zeroinitializer)
13*9880d681SAndroid Build Coastguard Worker	unreachable
14*9880d681SAndroid Build Coastguard Worker}
15