llvm-project
2e2bbcac - AMDGPU/GlobalISel: Start legalizing minimumnum and maximumnum (#140900)

Commit
137 days ago
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).
Author
Parents
Loading