aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/X86/fast-isel-bail.ll
blob: 343345160df060f8335308bd3d9debf85e6ff24b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: llc < %s -mtriple=i686-- -O0

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

	%0 = type { i64, ptr }		; type %0

declare void @bar(%0)

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