[PATCH] D74521: [BPF] explicit warning of not supporting dynamic stack allocation
Yonghong Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 12 20:52:40 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG61bd33e37b1d: [BPF] explicit warning of not supporting dynamic stack allocation (authored by yonghong-song).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74521/new/
https://reviews.llvm.org/D74521
Files:
llvm/lib/Target/BPF/BPFISelLowering.cpp
Index: llvm/lib/Target/BPF/BPFISelLowering.cpp
===================================================================
--- llvm/lib/Target/BPF/BPFISelLowering.cpp
+++ llvm/lib/Target/BPF/BPFISelLowering.cpp
@@ -227,6 +227,8 @@
return LowerGlobalAddress(Op, DAG);
case ISD::SELECT_CC:
return LowerSELECT_CC(Op, DAG);
+ case ISD::DYNAMIC_STACKALLOC:
+ report_fatal_error("Unsupported dynamic stack allocation");
default:
llvm_unreachable("unimplemented operand");
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74521.244327.patch
Type: text/x-patch
Size: 488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200213/ab306bde/attachment.bin>
More information about the llvm-commits
mailing list