[all-commits] [llvm/llvm-project] 0eefd5: [AMDGPU] Canonicalize scalar bf16 more efficiently...

LU-JOHN via All-commits all-commits at lists.llvm.org
Tue Aug 4 07:23:53 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0eefd513c29e88d90cf55d16a002bc09fe1f8eac
      https://github.com/llvm/llvm-project/commit/0eefd513c29e88d90cf55d16a002bc09fe1f8eac
  Author: LU-JOHN <John.Lu at amd.com>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.h
    M llvm/test/CodeGen/AMDGPU/bf16.ll
    M llvm/test/CodeGen/AMDGPU/fcanonicalize-elimination.bf16.ll
    M llvm/test/CodeGen/AMDGPU/fcanonicalize.bf16.ll

  Log Message:
  -----------
  [AMDGPU] Canonicalize scalar bf16 more efficiently (#213789)

Canonicalize bf16 more efficiently. Use `v_pk_mul_vf16 <DST>, 1.0, ...`
rather than converting to/from f32 and using v_max.

---------

Signed-off-by: John Lu <John.Lu at amd.com>



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