[llvm] [InstCombine] Transform (fcmp + fadd + sel) into (fcmp + sel + fadd) (PR #106492)
Rajat Bajpai via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 30 03:47:32 PDT 2024
================
@@ -3633,6 +3633,65 @@ static bool hasAffectedValue(Value *V, SmallPtrSetImpl<Value *> &Affected,
return false;
}
+// This transformation enables the possibility of transforming fcmp + sel into
+// a fmaxnum/fminnum intrinsic.
----------------
rajatbajpai wrote:
Fixed, thanks!
https://github.com/llvm/llvm-project/pull/106492
More information about the llvm-commits
mailing list