Skip to content

Conversation

@Hzfengsy
Copy link
Member

@Hzfengsy Hzfengsy commented Nov 3, 2023

The current implementation of FuseTIR pass does not handle the buffer access region of the blocks, which may fail when the function is in gather or take pattern. This PR fixes the issue.

Depends on #16063

cc @cyx-6

Siyuan Feng added 2 commits November 3, 2023 22:32
Pervious implementation of RenewDefs pass will fail in the case of
the gather/take function. This is because the pass visit and renew the
read/write regions twice. This PR fixes it and adds a regression test.
The current implementation of FuseTIR pass does not handle the buffer
access region of the blocks, which may fail when the function is in
gather or take pattern. This PR fixes the issue.
@github-actions github-actions bot requested a review from cyx-6 November 3, 2023 14:40
@junrushao
Copy link
Member

Is this ready to merge given #16063 has been merged?

@Hzfengsy Hzfengsy marked this pull request as ready for review November 5, 2023 01:42
@Hzfengsy Hzfengsy marked this pull request as draft November 5, 2023 01:43
@Hzfengsy
Copy link
Member Author

Hzfengsy commented Nov 5, 2023

Need to bring #16063 to unity before this PR.

@junrushao
Copy link
Member

Got it. Will do!

@junrushao junrushao marked this pull request as ready for review November 5, 2023 21:49
@junrushao junrushao merged commit 021f31b into apache:unity Nov 5, 2023
@Hzfengsy Hzfengsy deleted the fix_take_fuse_tir branch January 25, 2024 09:45
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