brintos

brintos / llvm-project-archived public Read only

0
0
Text · 554 B · a4e8ead Raw
15 lines · plain
1// RUN: mlir-opt %s -convert-gpu-to-nvvm | FileCheck %s2// RUN: mlir-opt %s -convert-gpu-to-nvvm="allow-pattern-rollback=0" | FileCheck %s3// RUN: mlir-opt %s -convert-gpu-to-nvvm='use-bare-ptr-memref-call-conv=1' \4// RUN: | FileCheck %s --check-prefix=BARE5 6gpu.module @memref_conversions {7  // CHECK: llvm.func @kern8  // CHECK-SAME: (%{{.*}}: !llvm.ptr, %{{.*}}: !llvm.ptr, %{{.*}}: i64, %{{.*}}: i64, %{{.*}}: i64)9  // BARE: llvm.func @kern10  // BARE-SAME: (%{{.*}}: !llvm.ptr)11  gpu.func @kern(%arg0: memref<8xf32>) kernel {12    gpu.return13  }14}15