[llvm] [SelectionDAG] Handle `fneg`/`fabs`/`fcopysign` in `SimplifyDemandedBits` (PR #139239)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sat May 10 11:29:17 PDT 2025


================
@@ -18259,21 +18259,6 @@ SDValue DAGCombiner::visitFCOPYSIGN(SDNode *N) {
     }
   }
 
-  // copysign(fabs(x), y) -> copysign(x, y)
----------------
arsenm wrote:

I think it may help if we can observe test changes with the SimplifyDemandedBits changes alone, without dropping the existing combines

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


More information about the llvm-commits mailing list