[all-commits] [llvm/llvm-project] c87336: [mlir][test] Add unittests for `getInversePermutat...

Andrzej Warzyński via All-commits all-commits at lists.llvm.org
Fri Nov 22 10:54:50 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c87336fc46b32dfb62ebbb259a7a4ec3d354a283
      https://github.com/llvm/llvm-project/commit/c87336fc46b32dfb62ebbb259a7a4ec3d354a283
  Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
  Date:   2024-11-22 (Fri, 22 Nov 2024)

  Changed paths:
    M mlir/unittests/IR/AffineMapTest.cpp

  Log Message:
  -----------
  [mlir][test] Add unittests for `getInversePermutation` (#116945)

The only way to test `getInversePermutation` is through unit tests. The
concept of "inverse permutations" is tricky to document and these tests
are a good source documentation of the expected/intended behavoiur.
Hence these additional unit tests.

This is a follow-on of #114775 in which I added tests for
`isProjectedPermutation`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list