[all-commits] [llvm/llvm-project] 6a2190: [mlir] Make division unsigned.

Hendrik Greving via All-commits all-commits at lists.llvm.org
Tue Aug 30 09:55:52 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a2190dffca638de2ced77c6a773067af1529c51
      https://github.com/llvm/llvm-project/commit/6a2190dffca638de2ced77c6a773067af1529c51
  Author: Hendrik Greving <hgreving at google.com>
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
    M mlir/lib/Dialect/SCF/Utils/Utils.cpp
    M mlir/test/Dialect/Affine/loop-coalescing.mlir
    M mlir/test/Dialect/SCF/loop-unroll.mlir
    M mlir/test/Transforms/parametric-tiling.mlir

  Log Message:
  -----------
  [mlir] Make division unsigned.

Uses arith.divui where it is safe to do so.
Adjusts the tests for above.

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


  Commit: 0f6a2cd2aba6a115cf468c0de648f35d6a689836
      https://github.com/llvm/llvm-project/commit/0f6a2cd2aba6a115cf468c0de648f35d6a689836
  Author: Hendrik Greving <hgreving at google.com>
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
    M mlir/lib/Dialect/SCF/Utils/Utils.cpp
    M mlir/test/Dialect/Affine/loop-coalescing.mlir

  Log Message:
  -----------
  [mlir] Fix signed ceildiv, loop normalization.

Fixes using the signed ceildiv op instead of incorrectly assuming positive loop bounds.
Adjusts the tests for above.

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


Compare: https://github.com/llvm/llvm-project/compare/3785234b03c5...0f6a2cd2aba6


More information about the All-commits mailing list