Skip to content

Commit

Permalink
fixes lwe being hardcoded in add_heir_dialect
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderViand-Intel authored Oct 16, 2024
1 parent 2b64c03 commit df8c085
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/AddHEIR.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ function(add_heir_dialect dialect dialect_namespace)
# Ops
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${dialect}Ops.td")
set(LLVM_TARGET_DEFINITIONS ${dialect}Ops.td)
mlir_tablegen(${dialect}Ops.h.inc -gen-op-decls -dialect=lwe)
mlir_tablegen(${dialect}Ops.cpp.inc -gen-op-defs -dialect=lwe)
mlir_tablegen(${dialect}Ops.h.inc -gen-op-decls -dialect=${dialect_namespace})
mlir_tablegen(${dialect}Ops.cpp.inc -gen-op-defs -dialect=${dialect_namespace})
add_public_tablegen_target(HEIR${dialect}OpsIncGen)
add_dependencies(HEIR${dialect}IncGen HEIR${dialect}OpsIncGen)
endif()
Expand Down

0 comments on commit df8c085

Please sign in to comment.