Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Early benchmarking of rete versus greedy pattern rewriter #2

Merged
merged 11 commits into from
Dec 15, 2021
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
build/
compile_commands.json
*.sublime-*
.cache/
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ project(lz-dialect LANGUAGES CXX C)
set(CMAKE_CXX_STANDARD 14 CACHE STRING "C++ standard to conform to")
# we have -Wnoerror=attributes because we use things like always_inline,
# and clang says:
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-attributes -fsanitize=address -fsanitize=undefined")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-attributes")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fsanitize=address -fsanitize=undefined")
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-attributes -fsanitize=address -fsanitize=undefined")


find_package(MLIR REQUIRED CONFIG)
Expand Down
5 changes: 4 additions & 1 deletion src/hoopl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ target_link_libraries(hoopl PRIVATE
MLIRTargetLLVMIRExport
# MLIRTargetLLVMIR
MLIRTransforms
MLIRSupport)
MLIRSupport
cgraph gvc)



mlir_check_link_libraries(hoopl)

Loading