[llvm] CodeGen: Add ISD::AssertNoFPClass (PR #138839)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu May 8 02:28:41 PDT 2025
================
@@ -80,7 +80,9 @@ class LLVM_LIBRARY_VISIBILITY DAGTypeLegalizer {
/// Pretend all of this node's results are legal.
bool IgnoreNodeResults(SDNode *N) const {
return N->getOpcode() == ISD::TargetConstant ||
- N->getOpcode() == ISD::Register;
+ N->getOpcode() == ISD::Register ||
+ (N->getOpcode() == ISD::AssertNoFPClass &&
+ IgnoreNodeResults(N->getOperand(0).getNode()));
----------------
arsenm wrote:
Shouldn't be touching this, this is not special in the way that TargetConstant and Register are
https://github.com/llvm/llvm-project/pull/138839
More information about the llvm-commits
mailing list