Some generic tests are not supported by the nvptx now. Moreover, they are no plans to fix the tested features in nvptx. So, suggest to mark them as UNSUPPORTED Differential Revision: https://reviews.llvm.org/D123928
21 lines
359 B
LLVM
21 lines
359 B
LLVM
; RUN: llc < %s
|
|
; PR4975
|
|
|
|
; NVPTX does not support zero sized type arg
|
|
; UNSUPPORTED: 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*, ...)
|