[PATCH] D16282: [opaque pointer types] [breaking-change] [NFC] Refactor gep_type_iterator and getIndexedOffset not to touch PointerType::getElementType.

Eduard Burtescu via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 17 14:54:33 PST 2016


eddyb created this revision.
eddyb added reviewers: mjacob, dblaikie.
eddyb added a subscriber: llvm-commits.

[breaking-change] gep_type_{begin,end} now take source element type and address space.

[breaking-change] DataLayout::getIndexedOffset: take source element type instead of pointer type and rename to getIndexedOffsetInType.

Depends on http://reviews.llvm.org/D16275, only commit after that.

http://reviews.llvm.org/D16282

Files:
  include/llvm/Analysis/TargetTransformInfoImpl.h
  include/llvm/IR/DataLayout.h
  include/llvm/IR/GetElementPtrTypeIterator.h
  lib/Analysis/ConstantFolding.cpp
  lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  lib/IR/DataLayout.cpp
  lib/Transforms/Scalar/ScalarReplAggregates.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16282.45132.patch
Type: text/x-patch
Size: 9086 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160117/f6475fd2/attachment.bin>


More information about the llvm-commits mailing list