[llvm] [RISCV][MRI] Account for fixed registers when determining callee saved regs (PR #115756)

Michael Maitland via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 12 09:04:05 PST 2024


================
@@ -0,0 +1,12 @@
+; RUN: not --crash llc -mtriple=m68k -mattr=+reserve-a0 < %s 2>&1 | FileCheck %s
----------------
michaelmaitland wrote:

Ok, i've updated it to use callee saved register d2 and verified that gcc behavior is still as expected: https://godbolt.org/z/xnGPWE76M

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


More information about the llvm-commits mailing list