[all-commits] [llvm/llvm-project] 4fa96b: [MLIR] Simplex: split some basic functionality out...

Arjun P via All-commits all-commits at lists.llvm.org
Sun Dec 19 08:54:53 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4fa96b7eca73b6b235e22f18371dba8c20ed715a
      https://github.com/llvm/llvm-project/commit/4fa96b7eca73b6b235e22f18371dba8c20ed715a
  Author: Arjun P <arjunpitchanathan at gmail.com>
  Date:   2021-12-19 (Sun, 19 Dec 2021)

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

  Log Message:
  -----------
  [MLIR] Simplex: split some basic functionality out into a SimplexBase class

This is a purely mechanical patch moving some functionality out from the
`Simplex` class out into a `SimplexBase` class. This pavees the way for
a future patch adding support for lexicographic optimization with a class
`LexSimplex`, which will inherit from `SimplexBase`. Inheriting directly
from `Simplex` would bring many additional functions that would not work in
`LexSimplex` because it operates slighty differently from `Simplex`. So We
split out only the basic functionality it needs to inherit into `SimplexBase`.

Reviewed By: Groverkss

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




More information about the All-commits mailing list