[all-commits] [llvm/llvm-project] 910718: [opaque pointer types] Add element type argument t...

topperc via All-commits all-commits at lists.llvm.org
Sun Nov 3 10:27:30 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 910718bd038cdac1671069594a11f6b26bad9c8b
      https://github.com/llvm/llvm-project/commit/910718bd038cdac1671069594a11f6b26bad9c8b
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2019-11-03 (Sun, 03 Nov 2019)

  Changed paths:
    M clang/lib/CodeGen/CGBuilder.h
    M clang/lib/CodeGen/CGExpr.cpp
    M llvm/include/llvm/IR/IRBuilder.h
    M llvm/include/llvm/IR/Instructions.h

  Log Message:
  -----------
  [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




More information about the All-commits mailing list