[PATCH] D86692: [NFC][ValueTracking] Add OffsetZero into findAllocaForValue
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 27 13:16:49 PDT 2020
eugenis accepted this revision.
eugenis added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:4371
+ if (OffsetZero) {
+ for (unsigned i = 1; i < GEP->getNumOperands(); ++i) {
+ ConstantInt *OpC = dyn_cast<ConstantInt>(GEP->getOperand(i));
----------------
Please address the lint warning.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86692/new/
https://reviews.llvm.org/D86692
More information about the llvm-commits
mailing list