Files
clang-p2996/llvm/test/CodeGen/X86/fast-isel-args-fail2.ll
Matt Arsenault 06c192d454 OpaquePtr: Bulk update tests to use typed byval
Upgrade of the IR text tests should be the only thing blocking making
typed byval mandatory. Partially done through regex and partially
manual.
2020-11-20 14:00:46 -05:00

10 lines
335 B
LLVM

; RUN: not --crash llc < %s -fast-isel -fast-isel-abort=2 -mtriple=x86_64-apple-darwin10
%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(%struct.s0) nocapture readonly align 16 %y) {
%1 = bitcast %struct.s0* %y to i8*
ret i8* %1
}