llvm-6502/test/CodeGen/X86/fast-isel-bail.ll

15 lines
322 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s | llc -march=x86 -fast
; 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
}