[all-commits] [llvm/llvm-project] b2b4c8: [InstCombine] Make use of low zero bits to determi...

Allen via All-commits all-commits at lists.llvm.org
Mon Jul 4 18:27:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b2b4c8721db00644346dcb783c3b07710e2a6d7e
      https://github.com/llvm/llvm-project/commit/b2b4c8721db00644346dcb783c3b07710e2a6d7e
  Author: zhongyunde <zhongyunde at huawei.com>
  Date:   2022-07-05 (Tue, 05 Jul 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
    M llvm/test/Transforms/InstCombine/sitofp.ll

  Log Message:
  -----------
  [InstCombine] Make use of low zero bits to determine exact int->fp cast

According the comment https://reviews.llvm.org/D127854#inline-1226805,
We could also make use of these low zero bits, https://alive2.llvm.org/ce/z/GYxTRu

Reviewed By: spatel, nikic, xbolva00

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




More information about the All-commits mailing list