[all-commits] [llvm/llvm-project] 867c7b: [MLIR][Presburger] Optimize for intersect

gilsaia via All-commits all-commits at lists.llvm.org
Tue Jul 11 07:14:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 867c7b5cc061c78a6c2387812cbe5b8bf1c84e0b
      https://github.com/llvm/llvm-project/commit/867c7b5cc061c78a6c2387812cbe5b8bf1c84e0b
  Author: gilsaia <794433219 at qq.com>
  Date:   2023-07-11 (Tue, 11 Jul 2023)

  Changed paths:
    M mlir/include/mlir/Analysis/Presburger/PresburgerRelation.h
    M mlir/lib/Analysis/Presburger/PresburgerRelation.cpp

  Log Message:
  -----------
  [MLIR][Presburger] Optimize for intersect

Added a series of optimizations to the Intersect function of PresburgerRelation, referring to the ISL implementation.
Tested it on a simple Benchmark implemented by myself to see that it can speed up the Intersect operation

The Benchmark can be found here:https://github.com/gilsaia/llvm-project-test-fpl/blob/develop_benchmark/mlir/benchmark/presburger/Benchmark.cpp

The overall results for Intersect are as follows
{F28191553}

The results for each case are as follows
{F28191556}

Reviewed By: Groverkss

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




More information about the All-commits mailing list