aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/fast-isel-args-fail2.ll
blob: f7066577f2de2b950d4b0a1982fca7a97ddfcdf4 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: not llc < %s -fast-isel -fast-isel-abort=2 -mtriple=x86_64-apple-darwin10
; REQUIRES: asserts

%struct.s0 = type { x86_fp80, x86_fp80 }

; FastISel cannot handle this case yet. Make sure that we abort.
define i8* @args_fail(%struct.s0* byval nocapture readonly align 16 %y) {
  %1 = bitcast %struct.s0* %y to i8*
  ret i8* %1
}