Bill Wendling | 58ed5d2 | 2009-04-29 00:15:41 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-as < %s | llc -march=x86 -O0 |
Dan Gohman | 09532df | 2009-04-07 20:40:11 +0000 | [diff] [blame] | 2 | |
3 | ; This file is for regression tests for cases where FastISel needs | ||||
4 | ; to gracefully bail out and let SelectionDAGISel take over. | ||||
5 | |||||
6 | type { i64, i8* } ; type %0 | ||||
7 | |||||
8 | declare void @bar(%0) | ||||
9 | |||||
10 | define fastcc void @foo() nounwind { | ||||
11 | entry: | ||||
12 | call void @bar(%0 zeroinitializer) | ||||
13 | unreachable | ||||
14 | } |