[all-commits] [llvm/llvm-project] 361d4c: DAG: Lower is.fpclass fcSubnormal|fcZero to fabs(x...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Jul 26 11:46:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 361d4cf5331d76d5ea5ddef48ea35e2515e870b6
      https://github.com/llvm/llvm-project/commit/361d4cf5331d76d5ea5ddef48ea35e2515e870b6
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-26 (Fri, 26 Jul 2024)

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

  Log Message:
  -----------
  DAG: Lower is.fpclass fcSubnormal|fcZero to fabs(x) < smallest_normal (#100390)

Produces better code on x86_64 only in the unordered case. Not
sure what the exact condition should be to avoid the regression. Free
fabs might do it, or maybe requires legality checks for the alternative
integer expansion.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list