[llvm] [RISCV] Fix assertion failure when using -fstack-clash-protection (PR #135248)

Paul Kirth via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 10 14:49:50 PDT 2025


================
@@ -0,0 +1,105 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc -mtriple riscv64 < %s -o - | FileCheck %s
+
+%"buff" = type { [4096 x i64] }
+
+declare void @llvm.memset.p0.i64(ptr writeonly captures(none), i8, i64, i1 immarg)
+declare ptr @bar()
+
+define i1 @foo() #0 {
----------------
ilovepi wrote:

Done.

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


More information about the llvm-commits mailing list