[all-commits] [llvm/llvm-project] 310f83: DAG: Lower is.fpclass fcInf to fcmp of fabs

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Jul 7 14:00:24 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 310f83961269a574d753932dc5f0c8fd44027781
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-07-07 (Fri, 07 Jul 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/test/CodeGen/PowerPC/is_fpclass.ll

  Log Message:
  DAG: Lower is.fpclass fcInf to fcmp of fabs

InstCombine should have taken care of this, but I think
this is more useful in the future when the expansion
tries to handle multiple cases at a time with fcmp.

x87 looks worse to me but the only thing I know about it is that
I aggressively do not care about it.


More information about the All-commits mailing list