Files
clang-p2996/llvm/test/CodeGen/Generic/2010-ZeroSizedArg.ll
Paul Robinson f4eb87f403 [NVPTX] Convert tests to check 'target=nvptx.*'
Part of the project to eliminate special handling for triples in lit
expressions.
2022-12-01 09:01:48 -08:00

21 lines
372 B
LLVM

; RUN: llc < %s
; PR4975
; NVPTX does not support zero sized type arg
; UNSUPPORTED: target=nvptx{{.*}}
%0 = type <{ [0 x i32] }>
%union.T0 = type { }
@.str = private constant [1 x i8] c" "
define void @t(%0) nounwind {
entry:
%arg0 = alloca %union.T0
%1 = bitcast %union.T0* %arg0 to %0*
store %0 %0, %0* %1, align 1
ret void
}
declare i32 @printf(i8*, ...)