Skip to content

fix(dsl): merge branch-local if bindings (#398)#409

Closed
Zhendong404 wants to merge 1 commit into
mouliangyu:feature-vpto-backendfrom
Zhendong404:fix-issue-398
Closed

fix(dsl): merge branch-local if bindings (#398)#409
Zhendong404 wants to merge 1 commit into
mouliangyu:feature-vpto-backendfrom
Zhendong404:fix-issue-398

Conversation

@Zhendong404
Copy link
Copy Markdown
Collaborator

Summary

  • merge if/else bindings that are first introduced inside both branches when their names and types match
  • add a regression test covering explicit pto.vecscope() with branch-local vector values consumed after the branch
  • document the updated conditional merge behavior in the control-flow guide

Validation

  • PYTHONPATH=$PWD/tilelang-dsl/python python3 -m unittest tilelang-dsl.tests.test_tilelang_dsl_v1.TileLangDSLDescriptorTests.test_explicit_vecscope_if_merges_new_binding_defined_in_both_branches
  • PYTHONPATH=$PWD/tilelang-dsl/python python3 -m unittest tilelang-dsl.tests.test_tilelang_dsl_v1.TileLangDSLDescriptorTests.test_if_else_and_sync_ops_lower_to_scf_if_and_authoring_sync_ops
  • PYTHONPATH=$PWD/tilelang-dsl/python python3 -m unittest tilelang-dsl.tests.test_tilelang_dsl_v1.TileLangDSLDescriptorTests.test_if_else_with_two_merged_bindings_lowers_to_multi_result_scf_if

Closes #398

@Zhendong404 Zhendong404 marked this pull request as ready for review May 25, 2026 08:55
@Zhendong404
Copy link
Copy Markdown
Collaborator Author

Included in PR #428

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] vkernel模板支持vecscope内的runtime分支(scf.if),以实现tinsert unaligned store路径

1 participant