| Stephen Hines | c6a4f5e | 2014-07-21 00:45:20 -0700 | [diff] [blame^] | 1 | ; RUN: not --crash llc < %s -fast-isel -fast-isel-abort-args -mtriple=x86_64-apple-darwin10 |
| 2 | ; REQUIRES: asserts | ||||
| 3 | |||||
| 4 | %struct.s0 = type { x86_fp80, x86_fp80 } | ||||
| 5 | |||||
| 6 | ; FastISel cannot handle this case yet. Make sure that we abort. | ||||
| 7 | define i8* @args_fail(%struct.s0* byval nocapture readonly align 16 %y) { | ||||
| 8 | %1 = bitcast %struct.s0* %y to i8* | ||||
| 9 | ret i8* %1 | ||||
| 10 | } | ||||