bolt/deps/llvm-18.1.8/mlir/test/Conversion/AffineToStandard/no-memref.mlir

12 lines
352 B
MLIR
Raw Normal View History

2025-02-14 19:21:04 +01:00
// RUN: mlir-opt -lower-affine %s | FileCheck %s
// Regression test checking that the memref dialect is loaded as dependency by
// the lowering pass. We shouldn't fail trying to create memref.load here.
// CHECK-LABEL: @no_memref_op
func.func @no_memref_op(%arg0: memref<f32>) {
// CHECK: memref.load
affine.load %arg0[] : memref<f32>
return
}