brintos

brintos / llvm-project-archived public Read only

0
0
Text · 396 B · 1b93f20 Raw
10 lines · plain
1// RUN: mlir-translate -verify-diagnostics -split-input-file -mlir-to-llvmir %s2 3// -----4 5llvm.func @nvvm_tcgen05_ld_32x32b_offset(%tmemAddr : !llvm.ptr<6>, %offset : i64) -> () {6  // expected-error@+1 {{offset argument is only supported for shape 16x32bx2}}7  %ldv2 = nvvm.tcgen05.ld %tmemAddr, %offset { pack, shape = #nvvm.tcgen05_ldst_shape<shape_32x32b>} : vector<2 x i32>8  llvm.return9}10