[PATCH] D113516: [IndVarSimplify] Prefer unsigned indvars in visitIVCast.
Sander de Smalen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 9 13:56:18 PST 2021
sdesmalen created this revision.
sdesmalen added reviewers: mkazantsev, reames, nikic.
Herald added a subscriber: hiraditya.
sdesmalen requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This patch demonstrates that prefering an unsigned indvar causes
the test case from D112573 <https://reviews.llvm.org/D112573> to regress (deterministic-sign.ll).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D113516
Files:
llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
llvm/test/Transforms/IndVarSimplify/X86/iv-widen.ll
llvm/test/Transforms/IndVarSimplify/deterministic-sign.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113516.385969.patch
Type: text/x-patch
Size: 7490 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211109/da26f099/attachment.bin>
More information about the llvm-commits
mailing list