[PATCH] D100383: [LSR] Fix for pre-indexed generated constant offset
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 13 08:42:49 PDT 2021
dmgreen added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp:3795
if (isLegalUse(TTI, LU.MinOffset - Offset, LU.MaxOffset - Offset, LU.Kind,
LU.AccessTy, F)) {
----------------
This looks like it's already checking isLegalUse. Should it be without the -Offset?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100383/new/
https://reviews.llvm.org/D100383
More information about the llvm-commits
mailing list