[all-commits] [llvm/llvm-project] 7eeaa7: [MLIR] FlatAffineConstraints: Fixed bug where some...

Kunwar Shaanjeet Singh Grover via All-commits all-commits at lists.llvm.org
Mon Aug 2 05:24:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7eeaa782c430dd47c7da04b79f2d3f87cde77b4e
      https://github.com/llvm/llvm-project/commit/7eeaa782c430dd47c7da04b79f2d3f87cde77b4e
  Author: Kunwar Shaanjeet Singh Grover <groverkss at gmail.com>
  Date:   2021-08-02 (Mon, 02 Aug 2021)

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

  Log Message:
  -----------
  [MLIR] FlatAffineConstraints: Fixed bug where some divisions were not being detected

This patch fixes a bug in the existing implementation of detectAsFloorDiv,
where floordivs with numerator with non-zero constant term and floordivs with
numerator only consisting of a constant term were not being detected.

Reviewed By: vinayaka-polymage

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




More information about the All-commits mailing list