-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
GVN incorrectly changes a load into a bitcast #48826
Comments
assigned to @jdoerfert |
Further reducing this test case, GVN incorrectly changes the named "iload" below into a bitcast rather than actually loading.
|
Fixed by 875891a |
Reopened for 12.0.1 backport. |
Hi Johannes, What is your opinion on backporting this? https://reviews.llvm.org/rG875891a10d50a791d3f076c9259e60af6c9af18c |
I'm obviously not Johannes, but I would definitely be in favor of backporting this. |
Seems pretty safe to me and fixes a problem, so yes. |
Merged: 77b63ce |
Extended Description
GVN has emits incorrect results when given an invariant.group
Removing one of the two invariant.groups appears to fix the incorrect behavior of gvn.
The text was updated successfully, but these errors were encountered: