bolt/deps/llvm-18.1.8/mlir/test/IR/affine-walk.mlir

10 lines
325 B
MLIR
Raw Normal View History

2025-02-14 19:21:04 +01:00
// RUN: mlir-opt -test-affine-walk -verify-diagnostics %s
// Test affine walk interrupt. A remark should be printed only for the first mod
// expression encountered in post order.
#map = affine_map<(i, j) -> ((i mod 4) mod 2, j)>
"test.check_first_mod"() {"map" = #map} : () -> ()
// expected-remark@-1 {{mod expression}}