[llvm] [RISCV] Don't truncate MaxAlignment to int when realigning the stack (PR #228225)

Divyansh Yadav via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 13:56:37 PDT 2026


================
@@ -0,0 +1,39 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
+; RUN: llc -mtriple=riscv64 -verify-machineinstrs < %s | FileCheck %s
+
+; Realigning sp to 2^32 must not be done with `andi sp, sp, 0`.
----------------
schizophrenicmaniac wrote:

Done, thanks.

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


More information about the llvm-commits mailing list