SuccessChanges

Summary

  1. [opaque pointer types] Add element type argument to IRBuilder (details)
Commit 910718bd038cdac1671069594a11f6b26bad9c8b by craig.topper
[opaque pointer types] Add element type argument to IRBuilder
CreatePreserveStructAccessIndex and CreatePreserveArrayAccessIndex
Summary: 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.
Reviewers: jyknight, t.p.northover, arsenm
Reviewed By: arsenm
Subscribers: wdng, arsenm, arphaman, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D69756
The file was modifiedllvm/include/llvm/IR/Instructions.h
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedclang/lib/CodeGen/CGBuilder.h