This significantly improves performance of Release assert builds.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Analysis/Presburger/Matrix.cpp | ||
---|---|---|
370 | I don't see a single use of this macro in the MLIR codebase or the LLVM C++ sources anywhere. I'm not sure if this is the right one to use. @mehdi_amini, @rriddle - do you have a suggestion? |
mlir/lib/Analysis/Presburger/Matrix.cpp | ||
---|---|---|
370 | For context, hasConsistentState is only used inside of assert(...) and is meant only for that. |
Happy to move it to a different function or just add a function parameter
(off by default) if preferred.
mlir/lib/Analysis/Presburger/Matrix.cpp | ||
---|---|---|
370 |
mlir/lib/Analysis/Presburger/Matrix.cpp | ||
---|---|---|
370 | My bad. I picked it up from the CMake, should've checked what the actual macro is. Fixed now. |
I don't see a single use of this macro in the MLIR codebase or the LLVM C++ sources anywhere. I'm not sure if this is the right one to use. @mehdi_amini, @rriddle - do you have a suggestion?