[PATCH] D100979: [loop-idiom][NFC] Extract processLoopStoreOfLoopLoad into a helper function
Hongtao Yu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 21 15:27:33 PDT 2021
hoy added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp:1088
const SCEVAddRecExpr *LoadEv =
cast<SCEVAddRecExpr>(SE->getSCEV(LI->getPointerOperand()));
+ Value *LoadPtr = LI->getPointerOperand();
----------------
Nit: reuse LoadPtr below?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100979/new/
https://reviews.llvm.org/D100979
More information about the llvm-commits
mailing list