[llvm] [WIP][SPARC] Allow overaligned `alloca`s (PR #107223)

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 4 05:10:53 PDT 2024


================
@@ -0,0 +1,113 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc -march=sparc < %s | FileCheck %s --check-prefixes=CHECK32
+; RUN: llc -march=sparcv9 < %s | FileCheck %s --check-prefixes=CHECK64
+
+define void @variable_alloca_with_overalignment(i32 %num) {
----------------
s-barannikov wrote:

To avoid generation of cfi directives:
```suggestion
define void @variable_alloca_with_overalignment(i32 %num) nounwind {
```

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


More information about the llvm-commits mailing list