HomePhabricator

[OpaquePtr] Make GEPs work with opaque pointers

Authored by aeubanks on May 18 2021, 3:23 PM.

Description

[OpaquePtr] Make GEPs work with opaque pointers

No verifier changes needed, the verifier currently doesn't check that
the pointer operand's pointee type matches the GEP type. There is a
similar check in GetElementPtrInst::Create() though.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D102744

Details

Committed
aeubanksMay 19 2021, 12:39 PM
Reviewer
dblaikie
Differential Revision
D102744: [OpaquePtr] Make GEPs work with opaque pointers
Parents
rG4b074b49be20: [lldb] Fix UB in half2float and add some more tests.
Branches
Unknown
Tags
Unknown