[clang] [llvm] [Clang] Add `__builtin_stack_address` (PR #148281)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 9 05:36:07 PDT 2025
================
@@ -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.
----------------
arsenm wrote:
No, we should be using diagnostic info more for this kind of thing. Though we should have separate kinds for will-never-be-supported type cases, and missing functionality
https://github.com/llvm/llvm-project/pull/148281
More information about the llvm-commits
mailing list