From 63fc92dcbd089245251f8c0b4152570246c475e5 Mon Sep 17 00:00:00 2001 From: rain2133 <1370973498@qq.com> Date: Mon, 23 Jun 2025 11:35:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E7=BB=84=E5=91=BD=E5=90=8D=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/include/IRBuilder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/IRBuilder.h b/src/include/IRBuilder.h index 8798a2e..088427f 100644 --- a/src/include/IRBuilder.h +++ b/src/include/IRBuilder.h @@ -315,7 +315,7 @@ class IRBuilder { auto fatherArrayValue = dynamic_cast(fatherArray); auto childArray = new AllocaInst(fatherArrayValue->getType(), subDims, block, childArrayName); - auto inst = new GetSubArrayInst(fatherArray, childArray, indices, block, name); + auto inst = new GetSubArrayInst(fatherArray, childArray, indices, block, childArrayName); assert(inst); block->getInstructions().emplace(position, inst); return inst;