[PATCH] D86364: [ValueTracking] Interpret GEPs as a series of adds multiplied by the related scaling factor

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 21 12:44:39 PDT 2020


qcolombet updated this revision to Diff 287085.
qcolombet added a comment.

Use GEPOperator instead of GEPInstr in cast. GEP can come form constant expression as well.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86364/new/

https://reviews.llvm.org/D86364

Files:
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/unittests/Analysis/ValueTrackingTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86364.287085.patch
Type: text/x-patch
Size: 14268 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200821/efbcdb7f/attachment-0001.bin>


More information about the llvm-commits mailing list