summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndreas Fried <andreas.fried@kit.edu>2021-11-23 14:38:04 +0100
committerJulian Wachter <julian.wachter@student.kit.edu>2022-06-30 11:13:09 +0200
commit98d6bc95aa86ef2155bfcb9fd93d6d2f64878dc0 (patch)
treebbc271bc8fdb52045d03614959f6bdcf10b13dd2
parent8f8398a1a234d76e95e09768e77ffcc7dae8fd75 (diff)
Use more canonical name for fp in MemPerm generation.regalloc-compressed-static
-rw-r--r--ir/be/riscv/riscv_emitter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/riscv/riscv_emitter.c b/ir/be/riscv/riscv_emitter.c
index eead3c5..ebac1a9 100644
--- a/ir/be/riscv/riscv_emitter.c
+++ b/ir/be/riscv/riscv_emitter.c
@@ -219,7 +219,7 @@ static void emit_be_MemPerm(ir_node const *const node)
if (memperm_arity > max_arity)
panic("memperm with more than %d inputs not supported yet", max_arity);
- char const *const frame_base = omit_fp ? "sp" : "fp";
+ char const *const frame_base = omit_fp ? "sp" : "s0";
int const memperm_offset = be_get_MemPerm_offset(node);
int ent_offset = memperm_offset;