[all-commits] [llvm/llvm-project] 0a57fe: AMDGPU/GlobalISel: Legalize BF16 for FP math opcod...

vangthao95 via All-commits all-commits at lists.llvm.org
Fri Aug 7 09:00:08 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a57fee7dc03ac3a958b416c0a778816f7cd36f4
      https://github.com/llvm/llvm-project/commit/0a57fee7dc03ac3a958b416c0a778816f7cd36f4
  Author: vangthao95 <vang.thao at amd.com>
  Date:   2026-08-07 (Fri, 07 Aug 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    A llvm/test/CodeGen/AMDGPU/GlobalISel/fadd.bf16.ll
    A llvm/test/CodeGen/AMDGPU/GlobalISel/fcanonicalize.bf16.ll
    A llvm/test/CodeGen/AMDGPU/GlobalISel/fma.bf16.ll
    A llvm/test/CodeGen/AMDGPU/GlobalISel/fmul.bf16.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fadd.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcanonicalize.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fconstant.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fma.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmul.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-vector-args-gfx7.mir
    M llvm/test/CodeGen/AMDGPU/dagcombine-fmul-sel.ll

  Log Message:
  -----------
  AMDGPU/GlobalISel: Legalize BF16 for FP math opcodes (#214059)

Make the BF16 form of G_FCONSTANT legal.

Widen BF16 G_FADD, G_FMUL, G_FMA, and G_FCANONICALIZE to F32.



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