-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[DFAJumpThreading] crash since b167ada #106083
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
Perhaps the same assertion I reported here: |
Yes, same assertion, and in addition my second test case above triggered another assertion. |
UsmanNadeem
added a commit
to UsmanNadeem/llvm-project
that referenced
this issue
Sep 21, 2024
…ect successor Previously the code assumed that the select instruction is defined in a block that is a direct predecessor of the block where the PHINode uses it. So, we were hitting an assertion when we tried to access the def block as an incoming block for the user phi node. This patch handles that case by using the correct end block and creating a new phi node that aggregates both the values of the select in that end block, and then using that new unfolded phi to overwrite the original user phi node. Fixes llvm#106083 Change-Id: Ie471994cca232318f74a6e6438efa21e561c2dc0
UsmanNadeem
added a commit
to UsmanNadeem/llvm-project
that referenced
this issue
Sep 23, 2024
…ect successor Previously the code assumed that the select instruction is defined in a block that is a direct predecessor of the block where the PHINode uses it. So, we were hitting an assertion when we tried to access the def block as an incoming block for the user phi node. This patch handles that case by using the correct end block and creating a new phi node that aggregates both the values of the select in that end block, and then using that new unfolded phi to overwrite the original user phi node. Fixes llvm#106083 Change-Id: Ie471994cca232318f74a6e6438efa21e561c2dc0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Seeing many assertions that go away if I revert b167ada "[DFAJumpThreading] Rewrite the way paths are enumerated (#96127)".
tcs_dfa-jt.tar.gz
The text was updated successfully, but these errors were encountered: