[PATCH] D148170: [LoopIdiomRecognize] Remove NUW flag from SCEV in getTripCount.
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 13 01:27:39 PDT 2023
nikic added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp:1010
TripCountS = SE->getAddExpr(SE->getTruncateOrZeroExtend(BECount, IntPtr),
SE->getOne(IntPtr), SCEV::FlagNUW);
}
----------------
craig.topper wrote:
> This one also looks suspect if we aren't zero extending?
Yes, this one should be dropped as well.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148170/new/
https://reviews.llvm.org/D148170
More information about the llvm-commits
mailing list