[PATCH] D78458: [LAA] Move CheckingPtrGroup/PointerCheck outside class (NFC).
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 27 11:17:46 PDT 2020
fhahn added inline comments.
================
Comment at: llvm/include/llvm/Analysis/LoopAccessAnalysis.h:416
- /// function. FIXME: once check-generation is moved inside this class (after
- /// the PtrPartition hack is removed), we could drop const.
- typedef std::pair<const CheckingPtrGroup *, const CheckingPtrGroup *>
----------------
Ayal wrote:
> The const's are not dropped, but the comment is?
Unfortunately I am not really sure if there's a benefit from dropping the const, unless there is a need to have them non-const.
I did not spot any const_casts or similar related to that pair and thought we can just drop the FIXME all together. If there's a benefit for them to not be const I am missing, I'll drop it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78458/new/
https://reviews.llvm.org/D78458
More information about the llvm-commits
mailing list