[PATCH] D129958: [IndVars] Eliminate redundant type cast with different sizes

Allen zhong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 17 00:13:38 PDT 2022


Allen created this revision.
Allen added reviewers: nikic, reames.
Herald added a subscriber: hiraditya.
Herald added a project: All.
Allen requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Deal with different sizes between the itofp and fptoi with
trunc or sext/zext, depend on D129756 <https://reviews.llvm.org/D129756>.


https://reviews.llvm.org/D129958

Files:
  llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
  llvm/test/Transforms/IndVarSimplify/floating-point-small-iv.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129958.445297.patch
Type: text/x-patch
Size: 6723 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220717/9b6bb795/attachment.bin>


More information about the llvm-commits mailing list