Skip to content

Commit

Permalink
wip: aggregate field bitmasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-Leo-Smith committed Jan 9, 2025
1 parent 6d32dd0 commit 80b3d48
Show file tree
Hide file tree
Showing 4 changed files with 564 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/xir/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ set(LUISA_COMPUTE_XIR_SOURCES
passes/outline.cpp
passes/sink_alloca.cpp
passes/trace_gep.cpp
passes/aggregate_field_bitmask.cpp
)

add_library(luisa-compute-xir SHARED ${LUISA_COMPUTE_XIR_SOURCES})
Expand All @@ -70,3 +71,8 @@ set_target_properties(luisa-compute-xir PROPERTIES
OUTPUT_NAME lc-xir)

luisa_compute_install(xir)

if (LUISA_COMPUTE_ENABLE_XIR_TESTS)
add_executable(test_aggregate_field_bitmasks tests/test_aggregate_field_bitmasks.cpp)
target_link_libraries(test_aggregate_field_bitmasks PRIVATE luisa-compute-xir)
endif ()
Loading

0 comments on commit 80b3d48

Please sign in to comment.