[IRForTarget] Don't pass nullptr to GetElementPtrInst::Create() (NFC)
In one case use the source element type of the original GEP. In the other the correct type isn't obvious to me, so use getPointerElementType() for now.
parent
0813bd16
Please register or sign in to comment