From 9a6ed9d8bc983fadc812fce4cca6a410ade16fcf Mon Sep 17 00:00:00 2001 From: William Chen Date: Thu, 3 Jun 2021 09:36:01 -0700 Subject: [PATCH] Remove opndidx add for load store doubles for accessing instruction descriptor. --- src/mapleall/maple_be/src/cg/aarch64/aarch64_cgfunc.cpp | 3 --- 1 file changed, 3 deletions(-) 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 600c89a611..cdc2479c57 100644 --- a/src/mapleall/maple_be/src/cg/aarch64/aarch64_cgfunc.cpp +++ b/src/mapleall/maple_be/src/cg/aarch64/aarch64_cgfunc.cpp @@ -761,9 +761,6 @@ bool AArch64CGFunc::IsImmediateOffsetOutOfRange(AArch64MemOperand &memOpnd, uint bool AArch64CGFunc::IsOperandImmValid(MOperator mOp, Operand *o, uint32 opndIdx) { const AArch64MD *md = &AArch64CG::kMd[mOp]; - if (md->IsLoadStorePair()) { - opndIdx++; - } auto *opndProp = static_cast(md->operand[opndIdx]); if (!opndProp->IsContainImm()) { return true; -- Gitee