[all-commits] [llvm/llvm-project] f4939d: [mlir][OpDSL] Simplify index and constant tests.

Tobias Gysi via All-commits all-commits at lists.llvm.org
Tue Mar 8 09:11:43 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f4939d56184e68d1302e8896f7ab32c4405ff609
      https://github.com/llvm/llvm-project/commit/f4939d56184e68d1302e8896f7ab32c4405ff609
  Author: gysit <gysit at google.com>
  Date:   2022-03-08 (Tue, 08 Mar 2022)

  Changed paths:
    M mlir/python/mlir/dialects/linalg/opdsl/lang/config.py
    M mlir/test/Dialect/Linalg/generalize-named-polymorphic-ops.mlir
    M mlir/test/python/dialects/linalg/opdsl/emit_misc.py

  Log Message:
  -----------
  [mlir][OpDSL] Simplify index and constant tests.

Simplify tests that use `linalg.fill_rng_2d` to focus on testing the `const` and `index` functions. Additionally, cleanup emit_misc.py to use simpler test functions and fix an error message in config.py.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D120734




More information about the All-commits mailing list