[all-commits] [llvm/llvm-project] c822c7: [AMDGPU] Model the cost of the expanded integer to...

Dmitry Sidorov via All-commits all-commits at lists.llvm.org
Wed Sep 30 11:31:38 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c822c7678cc5d317813ab851d71d687f041b1b57
      https://github.com/llvm/llvm-project/commit/c822c7678cc5d317813ab851d71d687f041b1b57
  Author: Dmitry Sidorov <Dmitry.Sidorov at amd.com>
  Date:   2026-09-30 (Wed, 30 Sep 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/AMDGPU/cast.ll
    M llvm/test/Analysis/CostModel/AMDGPU/expanded-int-fp-casts.ll
    M llvm/test/Analysis/CostModel/AMDGPU/fptosi.ll
    M llvm/test/Analysis/CostModel/AMDGPU/fptoui.ll
    M llvm/test/Analysis/CostModel/AMDGPU/narrow-int-to-bfloat.ll
    M llvm/test/Analysis/CostModel/AMDGPU/narrow-int-to-fp.ll
    M llvm/test/CodeGen/AMDGPU/slp-int-to-fp.ll

  Log Message:
  -----------
  [AMDGPU] Model the cost of the expanded integer to/from floating point casts (#223572)

No instruction converts to or from a 64 bit integer, and narrow vector lanes are converted one at a time. Price these expansions by the FP64 rate, sdwa and 16 bit instruction support, and price i33 to i63 like i64 and bf16 like f32 plus rounding.

Assisted-by: Claude Code Opus 5



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