[PATCH] D105503: [ScalarEvolution] Make sure getMinusSCEV doesn't negate pointers.
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 7 01:19:12 PDT 2021
mkazantsev added inline comments.
================
Comment at: llvm/lib/Analysis/ScalarEvolution.cpp:4163
+ // (for example, if the pointer operand of the Add is a SCEVUnknown).
+ return SE->getAddExpr(Ops);
+ }
----------------
I guess you forgot to modify ops somewhere.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105503/new/
https://reviews.llvm.org/D105503
More information about the llvm-commits
mailing list