[all-commits] [llvm/llvm-project] 09d70e: [InstCombine] simplify code for FP to integer cast...

RotateRight via All-commits all-commits at lists.llvm.org
Fri May 8 07:16:20 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 09d70e058853ee8f7f599d328bf2a20f2e0c0e71
      https://github.com/llvm/llvm-project/commit/09d70e058853ee8f7f599d328bf2a20f2e0c0e71
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-05-08 (Fri, 08 May 2020)

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

  Log Message:
  -----------
  [InstCombine] simplify code for FP to integer casts; NFCI

FoldIToFPtoI() returns immediately if the operand is not
an opposite cast instruction, so the extra checks in the
callers are redundant.




More information about the All-commits mailing list