[all-commits] [llvm/llvm-project] df2931: [MLIR] Add division normalization by GCD in `getDi...

Prashant Kumar via All-commits all-commits at lists.llvm.org
Thu Jan 6 02:52:27 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: df29318e667c718859947569c0eda9563ab13bc1
      https://github.com/llvm/llvm-project/commit/df29318e667c718859947569c0eda9563ab13bc1
  Author: Prashant Kumar <pk5561 at gmail.com>
  Date:   2022-01-06 (Thu, 06 Jan 2022)

  Changed paths:
    M mlir/lib/Analysis/Presburger/Utils.cpp
    M mlir/unittests/Analysis/AffineStructuresTest.cpp

  Log Message:
  -----------
  [MLIR] Add division normalization by GCD in `getDivRepr` fn.

This commits adds division normalization in  the `getDivRepr` function which extracts
 the gcd from the dividend and divisor and normalizes them.

Signed-off-by: Prashant Kumar <pk5561 at gmail.com>

Reviewed By: bondhugula

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




More information about the All-commits mailing list