Denzel-Brian Budii 3702d64801
[mlir] Reapply 141423 mlir-query combinators plus fix (#146156)
An uninitialized variable that caused a crash
(https://lab.llvm.org/buildbot/#/builders/164/builds/11004) was
identified using the memory analyzer, leading to the reversion of
https://github.com/llvm/llvm-project/pull/141423. This pull request
reapplies the previously reverted changes and includes the fix, which
has been tested locally following the steps at
https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild.

Note: the fix is included as part of the second commit
2025-07-01 15:03:17 +02:00

17 lines
284 B
CMake

add_mlir_library(MLIRQueryMatcher
MatchFinder.cpp
MatchersInternal.cpp
Parser.cpp
RegistryManager.cpp
VariantValue.cpp
Diagnostics.cpp
ErrorBuilder.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Query/Matcher
LINK_LIBS PUBLIC
MLIRIR
MLIRParser
)