[llvm] [GISel] matchFPSelect to use FMINMAX IEEE variant (PR #123774)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 21 22:59:23 PST 2025
================
@@ -6442,27 +6442,27 @@ unsigned CombinerHelper::getFPMinMaxOpcForSelect(
case CmpInst::FCMP_OGT:
case CmpInst::FCMP_OGE:
if (VsNaNRetVal == SelectPatternNaNBehaviour::RETURNS_OTHER)
- return TargetOpcode::G_FMAXNUM;
+ return TargetOpcode::G_FMAXNUM_IEEE;
----------------
arsenm wrote:
Or more specifically, the follow up work to adjust the uses
https://github.com/llvm/llvm-project/pull/123774
More information about the llvm-commits
mailing list