[llvm] [RISCV] Stack clash protection for dynamic alloca (PR #122508)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 14 15:59:11 PST 2025


================
@@ -159,6 +162,9 @@ class RISCVMachineFunctionInfo : public MachineFunctionInfo {
 
   bool isVectorCall() const { return IsVectorCall; }
   void setIsVectorCall() { IsVectorCall = true; }
+
+  bool hasDynamicAllocation() const { return HasDynProbe; }
----------------
topperc wrote:

Keep the variabe name and the function name in sync?

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


More information about the llvm-commits mailing list