[llvm] [PowerPC] Spill non-volatile registers required for traceback table (PR #71115)
Chen Zheng via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 11 20:19:50 PDT 2024
================
@@ -463,7 +463,7 @@ for.preheader:
for.body: ; preds = %entry, %for.body
%i.03 = phi i32 [ %inc, %for.body ], [ 0, %for.preheader ]
- tail call void asm "addi 14, 14, 1", "~{r14}"()
+ tail call void asm "addi 31, 14, 1", "~{r31}"()
----------------
chenzheng1030 wrote:
nit: Should we change the second 14 to 31 too? That's still GPR 14.
https://github.com/llvm/llvm-project/pull/71115
More information about the llvm-commits
mailing list