Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jiahanxie353
Copy link
Contributor

This transform is meant for dialects that inherently does not have a switch control statement (like Calyx).
And fixes valgrind issue, which was a problem here: #7670

@jiahanxie353
Copy link
Contributor Author

I fixed the valgrind locally without major changes; so I'll just merge it after CI passes and hopefully it should pass the nightly integration test
cc @seldridge @cgyurgyik @rachitnigam

@jiahanxie353 jiahanxie353 merged commit 6fd7072 into llvm:main Nov 26, 2024
4 checks passed
@cgyurgyik
Copy link
Member

Curiously, what was the issue?

@jiahanxie353
Copy link
Contributor Author

Curiously, what was the issue?

I directly erased the block still owned by operations, causing invalid memory access. So I used inlineRegion to handle the ownership and block lists issue

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