brintos

brintos / llvm-project-archived public Read only

0
0
Text · 314 B · 793df73 Raw
9 lines · plain
1// RUN: mlir-opt %s -split-input-file -convert-gpu-to-rocdl='use-bare-ptr-memref-call-conv=0' -verify-diagnostics2 3gpu.module @kernel {4// expected-warning @+1 {{Cannot copy noalias with non-bare pointers.}}5  gpu.func @func_warning_for_not_bare_pointer(%arg0 : memref<f32> {llvm.noalias} ) {6    gpu.return7  }8}9