[all-commits] [llvm/llvm-project] c2ab65: [IndVars] Eliminate redundant type cast with diffe...

Allen via All-commits all-commits at lists.llvm.org
Tue Aug 9 09:00:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2ab65ddaf4b2ab936ede3cc673de7f8f0440a48
      https://github.com/llvm/llvm-project/commit/c2ab65ddaf4b2ab936ede3cc673de7f8f0440a48
  Author: zhongyunde <zhongyunde at huawei.com>
  Date:   2022-08-09 (Tue, 09 Aug 2022)

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

  Log Message:
  -----------
  [IndVars] Eliminate redundant type cast with different sizes

Deal with different sizes between the itofp and fptoi with
trunc or sext/zext, depend on D129756.
Fixes https://github.com/llvm/llvm-project/issues/55505.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D129958




More information about the All-commits mailing list