Prepare GEP building for opaque pointers#87695
Conversation
|
(rust-highfive has picked a reviewer for you, use r? to override) |
|
r? @nagisa |
There was a problem hiding this comment.
Is it necessary to pointercast this self.llval anymore?
There was a problem hiding this comment.
When an explicit pointee type is provided it must be equal to the pointer element type, so this will have to wait until migration to opaque pointers is complete:
|
@bors try @rust-timer queue |
|
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
|
⌛ Trying commit 6aafd29e3d4588c170d88707da1f90308843d33f with merge 414880045b5e5aa73962982e332456daa6a1162a... |
This comment has been minimized.
This comment has been minimized.
|
💔 Test failed - checks-actions |
Imlement struct_gep using LLVMBuildStructGEP2 which takes an explicit type argument instead of deriving it from a pointer type.
Implement gep using LLVMBuildGEP2 which takes an explicit type argument instead of deriving it from a pointer type.
Implement inbounds_gep using LLVMBuildInBoundsGEP2 which takes an explicit type argument instead of deriving it from a pointer type.
A custom reimplementation of LLVMConstInBoundsGEP2 is used, since the LLVM contains a declaration of LLVMConstInBoundsGEP2 but not the implementation.
6aafd29 to
8e0df32
Compare
|
|
@bors try @rust-timer queue |
|
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
|
⌛ Trying commit 8e0df32 with merge 83871193ae29d0a5032d80fd9102b851d62bbb4f... |
|
☀️ Try build successful - checks-actions |
|
Queued 83871193ae29d0a5032d80fd9102b851d62bbb4f with parent 87d713f, future comparison URL. |
|
Finished benchmarking try commit (83871193ae29d0a5032d80fd9102b851d62bbb4f): comparison url. Summary: This benchmark run did not return any significant changes. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. @bors rollup=never |
|
@bors r+ |
|
📌 Commit 8e0df32 has been approved by |
|
☀️ Test successful - checks-actions |
No description provided.