blob: c3106172c909868931fdd0e382cc4a297bdc06c5 [file] [edit]
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
; RUN: not llc -mtriple=nvptx64 -mcpu=sm_90a -filetype=null %s 2>&1 | FileCheck %s
define void @tensormap_replace_elemtype_error_global(ptr addrspace(1) %addr) {
; CHECK: Intrinsic llvm.nvvm.tensormap.replace.elemtype.p1 with value 13 is not supported on the given target.
call void @llvm.nvvm.tensormap.replace.elemtype.p1(ptr addrspace(1) %addr, i32 13)
ret void
}
define void @tensormap_replace_elemtype_error_shared(ptr addrspace(3) %addr) {
; CHECK: Intrinsic llvm.nvvm.tensormap.replace.elemtype.p3 with value 13 is not supported on the given target.
call void @llvm.nvvm.tensormap.replace.elemtype.p3(ptr addrspace(3) %addr, i32 13)
ret void
}
define void @tensormap_replace_swizzle_mode_error_global(ptr addrspace(1) %addr) {
; CHECK: Intrinsic llvm.nvvm.tensormap.replace.swizzle.mode.p1 with value 4 is not supported on the given target.
call void @llvm.nvvm.tensormap.replace.swizzle.mode.p1(ptr addrspace(1) %addr, i32 4)
ret void
}
define void @tensormap_replace_swizzle_mode_error_shared(ptr addrspace(3) %addr) {
; CHECK: Intrinsic llvm.nvvm.tensormap.replace.swizzle.mode.p3 with value 4 is not supported on the given target.
call void @llvm.nvvm.tensormap.replace.swizzle.mode.p3(ptr addrspace(3) %addr, i32 4)
ret void
}