Don't check that types match when the pointer operand is an opaque
pointer.
I would separate the Assembler and Verifier changes, but
verify-uselistorder in the Assembler test ends up running the verifier.
Differential D102450
[OpaquePtr] Make loads and stores work with opaque pointers aeubanks on May 13 2021, 3:51 PM. Authored by
Details Don't check that types match when the pointer operand is an opaque I would separate the Assembler and Verifier changes, but
Diff Detail
Unit Tests Event Timeline
Comment Actions factor out check for pointee type
|
Reckon there's anything we could do to generalize these sort of tests - if we're going to add a whole bunch of them through this migration (& then remove them once we've moved over to opaque pointer types), maybe there are some good primitives we could create?
Like "hasElementTypeOrOpaque(PtrType, PointeeType)"?