[all-commits] [llvm/llvm-project] 597086: DAG: Implement promotion for strict_fp_round (#74332)

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Jan 4 17:44:33 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 597086c60959dd5b3c032552e8b42dd1d053f233
      https://github.com/llvm/llvm-project/commit/597086c60959dd5b3c032552e8b42dd1d053f233
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-01-05 (Fri, 05 Jan 2024)

  Changed paths:
    M llvm/include/llvm/Target/TargetSelectionDAG.td
    M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
    M llvm/lib/Target/AMDGPU/SIInstructions.td
    M llvm/test/CodeGen/AMDGPU/strict_fp_casts.ll

  Log Message:
  -----------
  DAG: Implement promotion for strict_fp_round (#74332)

Needs an AMDGPU hack to get the selection to work. The ordinary
variant is custom lowered through an almost equivalent target node
that would need a strict variant for additional known bits
optimizations.




More information about the All-commits mailing list