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
Function deleted in an error #1816
Comments
This is a branch folding/tail merge problem, mine. |
I believe the following patch fixes it, could you try? The resulting executable doesn't work on Darwin Index: BranchFolding.cpp====
|
This patch works, thanks, Dale! |
I was hoping that this would fix #1794 as well, which seems to be |
Extended Description
Consider attached testcase.
Run llc via "./llc -enable-eh". You'll see, that _Z17handle_unexpected function
is dropped from the generated assembly. This is horrible bad :(. Everything is
ok with "-fast". Almost surely the problem is due to "unreachable" inst in the
"invcont16" BB (note, that cxa_throw will always throw, so the code is correct).
The text was updated successfully, but these errors were encountered: