brintos

brintos / llvm-project-archived public Read only

0
0
Text · 352 B · b5af765 Raw
12 lines · plain
1// RUN: mlir-opt -lower-affine %s | FileCheck %s2 3// Regression test checking that the memref dialect is loaded as dependency by4// the lowering pass. We shouldn't fail trying to create memref.load here.5 6// CHECK-LABEL: @no_memref_op7func.func @no_memref_op(%arg0: memref<f32>) {8  // CHECK: memref.load9  affine.load %arg0[] : memref<f32>10  return11}12