[PATCH] D42123: Derive GEP index type from Data Layout

Elena Demikhovsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 17 05:10:15 PST 2018


delena updated this revision to Diff 130138.
delena edited the summary of this revision.
delena added a comment.

Added tests for a data layout, where pointer is wider than the largest supported integer type.


Repository:
  rL LLVM

https://reviews.llvm.org/D42123

Files:
  include/llvm/IR/DataLayout.h
  lib/Analysis/ConstantFolding.cpp
  lib/IR/DataLayout.cpp
  lib/Transforms/InstCombine/InstCombineCompares.cpp
  lib/Transforms/InstCombine/InstructionCombining.cpp
  test/Transforms/InstCombine/gep-custom-dl.ll
  test/Transforms/InstCombine/memcmp-constant-fold.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42123.130138.patch
Type: text/x-patch
Size: 19903 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180117/c80bc4b2/attachment.bin>


More information about the llvm-commits mailing list