[llvm] CodeGen: Add ISD::AssertNoFPClass (PR #138839)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu May 8 02:28:42 PDT 2025


================
@@ -796,6 +798,8 @@ class LLVM_LIBRARY_VISIBILITY DAGTypeLegalizer {
   //===--------------------------------------------------------------------===//
 
   SDValue GetSoftPromotedHalf(SDValue Op) {
+    while (Op.getNode()->getOpcode() == ISD::AssertNoFPClass)
+      Op = Op.getNode()->getOperand(0);
----------------
arsenm wrote:

This isn't the right solution, remove this 

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


More information about the llvm-commits mailing list