[PATCH] D64468: Replace three "strip & accumulate" implementations with a single one

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 9 20:11:57 PDT 2019


jdoerfert created this revision.
jdoerfert added reviewers: hfinkel, reames, arsenm, spatel, lebedev.ri.
Herald added subscribers: bollu, hiraditya, wdng.
Herald added a project: LLVM.

This patch replaces the three almost identical "strip & accumulate"
implementations for constant pointer offsets with a single one,
combining the respective functionalities. The old interfaces are kept
for now.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D64468

Files:
  llvm/include/llvm/Analysis/ValueTracking.h
  llvm/include/llvm/IR/Value.h
  llvm/lib/Analysis/InstructionSimplify.cpp
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/lib/IR/Value.cpp
  llvm/test/Transforms/InstCombine/gep-addrspace.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64468.208870.patch
Type: text/x-patch
Size: 13788 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190710/685d9759/attachment.bin>


More information about the llvm-commits mailing list