summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/fast-isel-bail.ll
blob: fb4f37ef90be92b92e28de03fd45b54c7f920c90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: llvm-as < %s | llc -march=x86 -O0

; This file is for regression tests for cases where FastISel needs
; to gracefully bail out and let SelectionDAGISel take over.

	type { i64, i8* }		; type %0

declare void @bar(%0)

define fastcc void @foo() nounwind {
entry:
	call void @bar(%0 zeroinitializer)
	unreachable
}
OpenPOWER on IntegriCloud