[mlir] Make division unsigned.
authorHendrik Greving <hgreving@google.com>
Thu, 25 Aug 2022 19:52:01 +0000 (12:52 -0700)
committerHendrik Greving <hgreving@google.com>
Tue, 30 Aug 2022 16:55:04 +0000 (09:55 -0700)
commit6a2190dffca638de2ced77c6a773067af1529c51
treefa2f157b8a8d1291a937a4cfc8932ef03c150cdc
parent3785234b03c568cd135b18c79cd7606108b9d388
[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
mlir/lib/Dialect/SCF/Utils/Utils.cpp
mlir/test/Dialect/Affine/loop-coalescing.mlir
mlir/test/Dialect/SCF/loop-unroll.mlir
mlir/test/Transforms/parametric-tiling.mlir