[PATCH] D86692: [NFC][ValueTracking] Add OffsetZero into findAllocaForValue
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 27 13:20:30 PDT 2020
nikic added inline comments.
================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:4375
+ return nullptr;
+ }
+ }
----------------
You can just use `GEP->hasAllZeroIndices()` here.
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