[llvm] [SelectionDAG] Support sign tracking trough `{S|U}INT_TO_FP` (PR #82808)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 25 04:34:38 PST 2024


================
@@ -4004,6 +4004,19 @@ KnownBits SelectionDAG::computeKnownBits(SDValue Op, const APInt &DemandedElts,
 
     break;
   }
+  case ISD::UINT_TO_FP: {
----------------
arsenm wrote:

Do we do the same in the IR already? Would be good to do the same for globalisel 

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


More information about the llvm-commits mailing list