[TIR] Revert #11428 and move loop dependent alloc extent check after region union#12019
Conversation
|
Moving our discussion thread from #11428. Thanks @ArmageddonKnight for spotting this nasty corner case, and @comaniac for offline discussion :-)
@wrongtest
|
|
Thanks for the fix. I think this implementation makes sense. Please let me know when it is merged so that I can rebase onto the latest main branch. |
|
Looks like we are now calculating the upper bound of the union bound, which I think is correct. Would love to have confirmation from both of you guys @wrongtest @ArmageddonKnight |
|
Let's also add my minimal reproducible example as a regression unittest in case it happens in the future |
|
Trim https://gist.github.com/junrushao1994/943eb0e9232a21a2748eb35af0fac4ff as a testcase. |
junrushao
left a comment
There was a problem hiding this comment.
Thanks for your swift response!!
…after region union (apache#12019)
…after region union (apache#12019)
cc @junrushao1994