These were the only remaining users of the GetElementPtrInst::getGEPReturnType
method that gets the element type from the pointer type.
Remove that method since its now dead.
Paths
| Differential D69756
[opaque pointer types] Add element type argument to IRBuilder CreatePreserveStructAccessIndex and CreatePreserveArrayAccessIndex ClosedPublic Authored by craig.topper on Nov 2 2019, 4:11 PM.
Details Summary These were the only remaining users of the GetElementPtrInst::getGEPReturnType Remove that method since its now dead.
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptNov 2 2019, 4:11 PM This revision is now accepted and ready to land.Nov 2 2019, 8:04 PM Closed by commit rG910718bd038c: [opaque pointer types] Add element type argument to IRBuilder… (authored by craig.topper). · Explain WhyNov 3 2019, 10:29 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 227622 clang/lib/CodeGen/CGBuilder.h
clang/lib/CodeGen/CGExpr.cpp
llvm/include/llvm/IR/IRBuilder.h
llvm/include/llvm/IR/Instructions.h
|