[PATCH] D113516: [IndVarSimplify] Prefer unsigned indvars in visitIVCast.
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 23 22:25:41 PST 2021
mkazantsev accepted this revision.
mkazantsev added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:561
// unspecified order of a PHI nodes' users-iterator.
- WI.IsSigned |= IsSigned;
+ WI.IsSigned = WI.IsSigned && IsSigned;
}
----------------
`&=` ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113516/new/
https://reviews.llvm.org/D113516
More information about the llvm-commits
mailing list