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

Adam Nemet via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 19 15:01:15 PDT 2025


anemet wrote:

@el-ev  Shouldn't this be only done before legalization or only if FABS is legal on a target.  DAGLegalize will lower a FABS to an FCOPYSIGN so this could create loop.

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


More information about the llvm-commits mailing list