[PATCH] D101190: [LoopIdiom] Ignore memory accesses to constant memory
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 23 11:41:27 PDT 2021
xbolva00 added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp:881
+ } else {
+ return true;
+ }
----------------
aeubanks wrote:
> xbolva00 wrote:
> > just return true; (no else)
> then the newly introduced if condition is useless if we always return true
yeah, oh! sorry:)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101190/new/
https://reviews.llvm.org/D101190
More information about the llvm-commits
mailing list