================
@@ -3680,6 +3681,7 @@ bool SelectionDAGLegalize::ExpandNode(SDNode *Node) {
Results.push_back(Tmp1);
break;
}
+ case ISD::STACKADDRESS:
case ISD::STACKSAVE:
// Expand to CopyFromReg if the target set
// StackPointerRegisterToSaveRestore.
----------------
nikic wrote:
Yes, I think something like that would be fine. @arsenm Any reason not to use
DiagnosticInfoUnsupported (rather than report_fatal_error) for a legalization
failure?
https://github.com/llvm/llvm-project/pull/148281
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits