[PATCH] D129958: [IndVars] Eliminate redundant type cast with different sizes
Allen zhong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 8 05:16:56 PDT 2022
Allen updated this revision to Diff 450768.
Allen added a comment.
If one of them is unsigned, then we can use zext
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129958/new/
https://reviews.llvm.org/D129958
Files:
llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
llvm/test/Transforms/IndVarSimplify/floating-point-iv.ll
llvm/test/Transforms/IndVarSimplify/floating-point-small-iv.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129958.450768.patch
Type: text/x-patch
Size: 13627 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220808/db7dabd1/attachment.bin>
More information about the llvm-commits
mailing list