[PATCH] D35499: [InstCombine] Simplify pointer difference subtractions (GEP-GEP) where GEPs have other uses and one non-constant index

Hiroshi Yamauchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 18 17:02:04 PDT 2017


yamauchi updated this revision to Diff 107209.
yamauchi added a comment.

Now using llvm::count_if + make_range.


https://reviews.llvm.org/D35499

Files:
  include/llvm/IR/Operator.h
  lib/Transforms/InstCombine/InstCombineAddSub.cpp
  test/Transforms/InstCombine/sub.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35499.107209.patch
Type: text/x-patch
Size: 6785 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170719/fda55c03/attachment.bin>


More information about the llvm-commits mailing list