[PATCH] D120523: [ValueTracking] Simplify llvm::isPointerOffset()

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 24 15:45:15 PST 2022


aeubanks created this revision.
Herald added a subscriber: hiraditya.
aeubanks requested review of this revision.
Herald added subscribers: llvm-commits, alextsao1999.
Herald added a project: LLVM.

We still need the code after stripAndAccumulateConstantOffsets() since
it doesn't handle GEPs of scalable types.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D120523

Files:
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/test/Transforms/MemCpyOpt/opaque-ptr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120523.411249.patch
Type: text/x-patch
Size: 4986 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220224/f4169ff1/attachment.bin>


More information about the llvm-commits mailing list