blob: 08de472c2a540c25404cea2a55e26e4d74c8cb16 [file] [log] [blame]
Juergen Ributzka14832b02014-06-12 21:17:40 +00001; RUN: not --crash llc < %s -fast-isel -fast-isel-abort-args -mtriple=x86_64-apple-darwin10
NAKAMURA Takumib8ed66d2014-06-13 12:05:06 +00002; REQUIRES: asserts
Juergen Ributzka8ce8f212014-06-12 20:34:09 +00003
4%struct.s0 = type { x86_fp80, x86_fp80 }
5
6; FastISel cannot handle this case yet. Make sure that we abort.
7define i8* @args_fail(%struct.s0* byval nocapture readonly align 16 %y) {
8 %1 = bitcast %struct.s0* %y to i8*
9 ret i8* %1
10}