-
Notifications
You must be signed in to change notification settings - Fork 13k
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
[LLVM] Avoid losing the !nonnull attribute in SROA #43026
Conversation
@bors r=alexcrichton |
📌 Commit 3723e86 has been approved by |
(added missing @bors r=alexcrichton |
📌 Commit ec40c23 has been approved by |
⌛ Testing commit ec40c2308389b54d2a84efb7fb6c07cd839d5e6a with merge a93e67ec34806ff6440f760a59113f18e9e6ba9c... |
💔 Test failed - status-travis |
|
☔ The latest upstream changes (presumably #42727) made this pull request unmergeable. Please resolve the merge conflicts. |
Umm... this works on x86. What's the problem on ARM? I'll investigate now that I'm back. |
Looks like LLVM casts pointers to integers on 32-bit archs when loading, so I might need to implement the interconversion between range <-> nonnull there too. |
status: I have a patch that makes this work on 32-bit archs, now I just need to make it publication-ready and get in touch with @chandlerc. |
However, maybe I should just land this change now, ignoring 32-bit archs? |
Ignoring seems fine to me |
This still does not work on 32-bit archs because of an LLVM limitation, but this is only an optimization, so let's push it on 64-bit only for now. Fixes rust-lang#37945
@bors r=alexcrichton |
📌 Commit ecf62e4 has been approved by |
⌛ Testing commit ecf62e4 with merge 003edc323a9c3b05531f40dce009f7adb7f95dd3... |
💔 Test failed - status-travis |
@bors retry -- android disk space |
⌛ Testing commit ecf62e4 with merge a3369fe9728849c15ec5477c524c9a989ae70314... |
💔 Test failed - status-travis |
@bors: retry |
[LLVM] Avoid losing the !nonnull attribute in SROA Fixes #37945. r? @alexcrichton
☀️ Test successful - status-appveyor, status-travis |
the rust project has forked the llvm compiler to solve some issues. With pkgs.llvm the test suite fails. See rust-lang/rust#43026 And PR NixOS#30088
simplify the boostrap hashes a bit build with bundled llvm: the rust project has forked the llvm compiler to solve some issues. With pkgs.llvm the test suite fails. See rust-lang/rust#43026 And PR NixOS#30088
Fixes #37945.
r? @alexcrichton