[all-commits] [llvm/llvm-project] 2e2bbc: AMDGPU/GlobalISel: Start legalizing minimumnum and...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Wed May 21 08:01:07 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2e2bbcacf813de52f6e7f48dea67e26de1f1f99e
https://github.com/llvm/llvm-project/commit/2e2bbcacf813de52f6e7f48dea67e26de1f1f99e
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-05-21 (Wed, 21 May 2025)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/test/CodeGen/AMDGPU/maximumnum.ll
M llvm/test/CodeGen/AMDGPU/minimumnum.ll
Log Message:
-----------
AMDGPU/GlobalISel: Start legalizing minimumnum and maximumnum (#140900)
This is the bare minimum to get the intrinsic to compile for AMDGPU,
and it's not optimal. We need to follow along closer with the existing
G_FMINNUM/G_FMAXNUM with custom lowering to handle the IEEE=0 case
better.
Just re-use the existing lowering for the old semantics for
G_FMINNUM/G_FMAXNUM. This does not change G_FMINNUM/G_FMAXNUM's
treatment,
nor try to handle the general expansion without an underlying min/max
variant (or with G_FMINIMUM/G_FMAXIMUM).
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