This is an archive of the discontinued LLVM Phabricator instance.

[IndVarSimplify] Prefer unsigned indvars in visitIVCast.
AcceptedPublic

Authored by sdesmalen on Nov 9 2021, 1:56 PM.

Details

Summary

This patch demonstrates that prefering an unsigned indvar causes
the test case from D112573 to regress (deterministic-sign.ll).

Diff Detail

Event Timeline

sdesmalen created this revision.Nov 9 2021, 1:56 PM
sdesmalen requested review of this revision.Nov 9 2021, 1:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 9 2021, 1:56 PM
mkazantsev accepted this revision.Nov 23 2021, 10:25 PM
mkazantsev added inline comments.
llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
561

&= ?

This revision is now accepted and ready to land.Nov 23 2021, 10:25 PM