[PATCH] D148170: [LoopIdiomRecognize] Remove NUW flag from SCEV in getTripCount.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 12 13:55:50 PDT 2023
craig.topper added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp:1010
TripCountS = SE->getAddExpr(SE->getTruncateOrZeroExtend(BECount, IntPtr),
SE->getOne(IntPtr), SCEV::FlagNUW);
}
----------------
This one also looks suspect if we aren't zero extending?
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