[all-commits] [llvm/llvm-project] 0ddc81: AMDGPU: Reduce cost of f64 copysign

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Jun 17 08:31:57 PDT 2025


  Branch: refs/heads/users/arsenm/amdgpu/reduce-cost-f64-copysign
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ddc81d117497e6caea3334f7e62ff1aa62f0e3a
      https://github.com/llvm/llvm-project/commit/0ddc81d117497e6caea3334f7e62ff1aa62f0e3a
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-06-17 (Tue, 17 Jun 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/AMDGPU/copysign.ll

  Log Message:
  -----------
  AMDGPU: Reduce cost of f64 copysign

The real implementation is 1 real instruction plus a constant
materialize. Call that a 1, it's not a real f64 operation.



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