[PATCH] D97122: [SCEV] Improve handling of pointer compares involving subtractions (WIP).
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 4 14:15:02 PST 2021
fhahn updated this revision to Diff 328306.
fhahn marked an inline comment as done.
fhahn added a comment.
Make sure to only handle adds with 2 operands.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97122/new/
https://reviews.llvm.org/D97122
Files:
llvm/include/llvm/Analysis/ScalarEvolution.h
llvm/lib/Analysis/ScalarEvolution.cpp
llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
llvm/test/Transforms/IndVarSimplify/simplify-pointer-arithmetic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97122.328306.patch
Type: text/x-patch
Size: 9819 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210304/0aaa4813/attachment-0001.bin>
More information about the llvm-commits
mailing list