When the load type is changed to ptr, we need the load pointer type to also be ptr, because it's not allowed to create a pointer to an opaque pointer. This is achieved by adjusting the getPointerTo() API to return an opaque pointer for an opaque pointer base type.
Details
Details
- Reviewers
- aeubanks - dblaikie 
- Group Reviewers
- Restricted Project 
- Commits
- rG7bb7fa12e73b: [OpaquePtr] Support changing load type in InstCombine
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
lgtm with nit
| llvm/lib/IR/Type.cpp | ||
|---|---|---|
| 728–734 | probably worth putting a comment in the header that this method should be removed after the opaque pointer transition | |
probably worth putting a comment in the header that this method should be removed after the opaque pointer transition