1// RUN: mlir-opt %s -convert-gpu-to-nvvm | FileCheck %s 2// RUN: mlir-opt %s -convert-gpu-to-nvvm='use-bare-ptr-memref-call-conv=1' \ 3// RUN: | FileCheck %s --check-prefix=BARE 4 5gpu.module @memref_conversions { 6 // CHECK: llvm.func @kern 7 // CHECK-SAME: (%{{.*}}: !llvm.ptr, %{{.*}}: !llvm.ptr, %{{.*}}: i64, %{{.*}}: i64, %{{.*}}: i64) 8 // BARE: llvm.func @kern 9 // BARE-SAME: (%{{.*}}: !llvm.ptr) 10 gpu.func @kern(%arg0: memref<8xf32>) kernel { 11 gpu.return 12 } 13} 14