summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndreas Fried <andreas.fried@kit.edu>2021-11-23 14:38:04 +0100
committerMaximilian Stemmer-Grabow <mail@mxsg.de>2021-12-15 18:41:11 +0100
commit9fd6b1786a9c993debb0849efdbd303d6a674823 (patch)
tree021d395298a8c0f13d2a18cea021ba3b868afbf6
parentf9a89e718b4ab83d88cb51db05a7b3c808c81f37 (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;