Skip to content

Conversation

@Hzfengsy
Copy link
Member

The current implementation of block_access_region_detector does not consider the let bindings inside the block. To be more specific:

  • The let bindings inside the block can be the index of buffer access indices
  • The let bindings var is defined inside the block, so the block annotation cannot use those vars.
  • We need to substitute the let bindings inside the block to the block annotation.

This PR fixes this problem and can create legal IRs.

Siyuan Feng added 2 commits February 10, 2024 23:58
The current implementation of `block_access_region_detector` does not
consider the let bindings inside the block. To be more specific:

- The let bindings inside the block can be the index of buffer access
  indices
- The let bindings var is defined inside the block, so the block
  annotation cannot use those vars.
- We need to substitute the let bindings inside the block to the
  block annotation.

This PR fixes this problem and can create legal IRs.
@tqchen tqchen merged commit 3fd9bac into apache:main Feb 11, 2024
@Hzfengsy Hzfengsy deleted the tir_block_access_region branch February 12, 2024 14:31
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.

2 participants