[all-commits] [llvm/llvm-project] 229b9b: [AMDGPU][GlobalISel] Legalize odd bf16 vectors (#2...
LU-JOHN via All-commits
all-commits at lists.llvm.org
Wed Sep 30 14:00:26 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 229b9b2f4e20840a8280174fa08385fd9e36844b
https://github.com/llvm/llvm-project/commit/229b9b2f4e20840a8280174fa08385fd9e36844b
Author: LU-JOHN <John.Lu at amd.com>
Date: 2026-09-30 (Wed, 30 Sep 2026)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/fabs.bf16.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fadd.bf16.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fcanonicalize.bf16.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fma.bf16.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fminnum.bf16.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fmul.bf16.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fneg.bf16.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fptrunc.bf16.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fsub.bf16.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/strict_fadd.bf16.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/strict_fma.bf16.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/strict_fmul.bf16.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/strict_fsub.bf16.ll
Log Message:
-----------
[AMDGPU][GlobalISel] Legalize odd bf16 vectors (#226707)
Simplify `moreElementsIf` and `clampMaxNumElements` to just
`clampMaxNumElementsStrict` for `MinNumMaxNumIeee` and `MinNumMaxNum`.
Use `clampMaxNumElementsStrict` for `FSubActions`. This is the only
functional change.
Add testing for v3bf16 and v5b16.
---------
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