[all-commits] [llvm/llvm-project] 71b120: [AMDGPU] Use SubtargetPredicates for the f32/f16 -...

Dmitry Sidorov via All-commits all-commits at lists.llvm.org
Sat Aug 1 03:36:53 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 71b120f63ef3c63e9ee1d4394b9bad8623b183f3
      https://github.com/llvm/llvm-project/commit/71b120f63ef3c63e9ee1d4394b9bad8623b183f3
  Author: Dmitry Sidorov <Dmitry.Sidorov at amd.com>
  Date:   2026-08-01 (Sat, 01 Aug 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPU.td
    M llvm/lib/Target/AMDGPU/VOP1Instructions.td
    M llvm/lib/Target/AMDGPU/VOP3Instructions.td

  Log Message:
  -----------
  [AMDGPU] Use SubtargetPredicates for the f32/f16 -> fp8/bf8 conversions (#213383)

The follow-up #212888 left for the other direction. HasCvtFP8SDWASrcSel
and HasCvtFP8ByteSel replace isGFX940Plus and isGFX11Plus on the f32 ->
fp8/bf8 conversions, which split by the same encoding characteristic, so
the two feature descriptions become direction-neutral. The f16 ->
fp8/bf8 conversions had no feature at all, so add
FeatureF16FP8ConversionInsts, the mirror of the existing
FeatureFP8F16ConversionInsts, and use it in place of isGFX1250Plus.

Assisted-By: Claude 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