2017-08-02 08:28:10 +08:00
|
|
|
; RUN: llc < %s -mtriple=i686-- -O0
|
2009-04-08 04:40:11 +08:00
|
|
|
|
|
|
|
; This file is for regression tests for cases where FastISel needs
|
|
|
|
; to gracefully bail out and let SelectionDAGISel take over.
|
|
|
|
|
2011-06-19 08:03:46 +08:00
|
|
|
%0 = type { i64, i8* } ; type %0
|
2009-04-08 04:40:11 +08:00
|
|
|
|
|
|
|
declare void @bar(%0)
|
|
|
|
|
|
|
|
define fastcc void @foo() nounwind {
|
|
|
|
entry:
|
|
|
|
call void @bar(%0 zeroinitializer)
|
|
|
|
unreachable
|
|
|
|
}
|