[llvm] [AMDGPU] Adjust amdgpu fmax/fmin legalization for DAG (PR #203150)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 29 05:03:34 PDT 2026
================
@@ -8703,16 +8758,21 @@ SDValue SITargetLowering::lowerFMINNUM_FMAXNUM(SDValue Op,
const MachineFunction &MF = DAG.getMachineFunction();
const SIMachineFunctionInfo *Info = MF.getInfo<SIMachineFunctionInfo>();
bool IsIEEEMode = Info->getMode().IEEE;
+ bool IsDivergent = Op.getNode()->isDivergent();
----------------
arsenm wrote:
SHouldn't need to consider the divergence
https://github.com/llvm/llvm-project/pull/203150
More information about the llvm-commits
mailing list