[PATCH] D48323: Derive GEP index type from Data Layout (cont)

Elena Demikhovsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 19 07:33:12 PDT 2018


delena created this revision.
delena added reviewers: theraven, hfinkel, Ayal, igorb.

This patch fixes some places that were not covered in https://reviews.llvm.org/D42123
I added a test for ptr_to_int operations.
Some minor changes are in the backend, can't be covered by tests for an out-of-tree target.


Repository:
  rL LLVM

https://reviews.llvm.org/D48323

Files:
  include/llvm/CodeGen/TargetLowering.h
  lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  lib/CodeGen/TargetLoweringBase.cpp
  lib/Transforms/InstCombine/InstCombineCasts.cpp
  test/Transforms/InstCombine/ptr-int-cast_custom_gep.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48323.151914.patch
Type: text/x-patch
Size: 5541 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180619/c476788c/attachment.bin>


More information about the llvm-commits mailing list