[all-commits] [llvm/llvm-project] 00f5af: AMDGPU/GlobalISel: Start legalizing minimumnum and...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Wed May 21 06:46:24 PDT 2025
Branch: refs/heads/users/arsenm/global-isel/start-legalizing-minimumnum-maximumnum
Home: https://github.com/llvm/llvm-project
Commit: 00f5af3908e3cf114cd906c802b794e43d9955a2
https://github.com/llvm/llvm-project/commit/00f5af3908e3cf114cd906c802b794e43d9955a2
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
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