From 5d31eeae8047b5950a4f23bb2388f72a8cd16943 Mon Sep 17 00:00:00 2001 From: Alfred Huang Date: Wed, 24 Aug 2022 15:37:14 -0700 Subject: [PATCH] Fixed a coding style change during merge causing coremark error. --- 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 417b6fa385..931856aa74 100644 --- a/src/mapleall/maple_be/src/cg/aarch64/aarch64_cgfunc.cpp +++ b/src/mapleall/maple_be/src/cg/aarch64/aarch64_cgfunc.cpp @@ -2111,9 +2111,6 @@ void AArch64CGFunc::SelectIassignfpoff(IassignFPoffNode &stmt, Operand &opnd) { MIRType *rType = GetLmbcCallReturnType(); bool isPureFpStruct = false; uint32 numRegs = 0; - if (rType == nullptr) { - return; - } if (rType && rType->GetPrimType() == PTY_agg && opnd.IsRegister() && static_cast(opnd).IsPhysicalRegister()) { CHECK_FATAL(rType->GetSize() <= k16BitSize, "SelectIassignfpoff invalid agg size"); -- Gitee