From 4b3df074f4e4ab6a4a73629c470dc7aae4d8c9ff Mon Sep 17 00:00:00 2001 From: William Chen Date: Thu, 13 Jan 2022 09:12:58 -0800 Subject: [PATCH] Fix typo in SelectIread for extension instruction. --- src/mapleall/maple_be/src/cg/aarch64/aarch64_cgfunc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mapleall/maple_be/src/cg/aarch64/aarch64_cgfunc.cpp b/src/mapleall/maple_be/src/cg/aarch64/aarch64_cgfunc.cpp index 382f2fb929..a941f17dc6 100644 --- a/src/mapleall/maple_be/src/cg/aarch64/aarch64_cgfunc.cpp +++ b/src/mapleall/maple_be/src/cg/aarch64/aarch64_cgfunc.cpp @@ -2731,7 +2731,7 @@ Operand *AArch64CGFunc::SelectIread(const BaseNode &parent, IreadNode &expr, break; } GetCurBB()->AppendInsn(cg->BuildInstruction( - mOp, insn.GetOperand(0), insn.GetOperand(1))); + mOp, insn.GetOperand(0), insn.GetOperand(0))); } } } else { -- Gitee