}
bool visitGetElementPtrInst(GetElementPtrInst &GEPI) {
- //unsigned IntPtrWidth = TD->getPointerSizeInBits();
- //assert(IntPtrWidth == Offset.getBitWidth());
uint64_t GEPOffset;
if (!computeConstantGEPOffset(GEPI, GEPOffset))
return markAsEscaping(GEPI);
if (GEPI.use_empty())
return markAsDead(GEPI);
- //unsigned IntPtrWidth = TD->getPointerSizeInBits();
- //assert(IntPtrWidth == Offset.getBitWidth());
uint64_t GEPOffset;
if (!computeConstantGEPOffset(GEPI, GEPOffset))
llvm_unreachable("Unable to compute constant offset for use");