[llvm] [InstCombine] Preserve the sign bit of NaN in `SimplifyDemandedUseFPClass` (PR #137287)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 25 01:38:43 PDT 2025


================
@@ -1959,9 +1959,11 @@ static Constant *getFPClassConstant(Type *Ty, FPClassTest Mask) {
   }
 }
 
-Value *InstCombinerImpl::SimplifyDemandedUseFPClass(
-    Value *V, const FPClassTest DemandedMask, KnownFPClass &Known,
-    unsigned Depth, Instruction *CxtI) {
+Value *InstCombinerImpl::SimplifyDemandedUseFPClass(Value *V,
----------------
arsenm wrote:

Not sure why this changed, the signature didn't? 

https://github.com/llvm/llvm-project/pull/137287


More information about the llvm-commits mailing list