[all-commits] [llvm/llvm-project] 4b86d5: [MLIR][Presburger] unittests: use an MLIRContext d...
Arjun P via All-commits
all-commits at lists.llvm.org
Wed Feb 23 07:07:13 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4b86d55997cfac5b7a6fb0d31f4bad1b8bdf5ca5
https://github.com/llvm/llvm-project/commit/4b86d55997cfac5b7a6fb0d31f4bad1b8bdf5ca5
Author: Arjun P <arjunpitchanathan at gmail.com>
Date: 2022-02-23 (Wed, 23 Feb 2022)
Changed paths:
M mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp
M mlir/unittests/Analysis/Presburger/PWMAFunctionTest.cpp
M mlir/unittests/Analysis/Presburger/PresburgerSetTest.cpp
M mlir/unittests/Analysis/Presburger/SimplexTest.cpp
M mlir/unittests/Analysis/Presburger/Utils.h
Log Message:
-----------
[MLIR][Presburger] unittests: use an MLIRContext declared in parsePoly
Use an `MLIRContext` declared in a single place in the `parsePoly` function that almost all Presburger unit tests use for parsing sets. This function is only used in tests.
This saves us from having to declare and pass a new `MLIRContext` in every test.
Reviewed By: bondhugula, mehdi_amini
Differential Revision: https://reviews.llvm.org/D119251
More information about the All-commits
mailing list