[all-commits] [llvm/llvm-project] 256a6d: [AMDGPU] Use a single SubtargetPredicate for fp8/b...

Dmitry Sidorov via All-commits all-commits at lists.llvm.org
Thu Jul 30 14:10:50 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 256a6d2807a980c1477df0ed3b6ea6763460b967
      https://github.com/llvm/llvm-project/commit/256a6d2807a980c1477df0ed3b6ea6763460b967
  Author: Dmitry Sidorov <Dmitry.Sidorov at amd.com>
  Date:   2026-07-30 (Thu, 30 Jul 2026)

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

  Log Message:
  -----------
  [AMDGPU] Use a single SubtargetPredicate for fp8/bf8 -> f32 conversions (#212888)

Add FeatureCvtFP8SDWASrcSel for the form that takes the byte from the SDWA src0_sel field and FeatureCvtFP8ByteSel for the form that takes it from a byte_sel operand. Both imply FeatureFP8ConversionInsts, and a subtarget provides one of them, so the multiclass-generated HasCvtFP8SDWASrcSel and HasCvtFP8ByteSel replace the GFX9 and GFX11Plus predicates outright.

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