From 71166eeecf5d3c9fcdd86e692511e772f3e437a1 Mon Sep 17 00:00:00 2001 From: imhcyx Date: Thu, 5 May 2022 16:58:39 +0800 Subject: [PATCH] memory_share: fix wrong argidx in extra_args --- passes/memory/memory_share.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passes/memory/memory_share.cc b/passes/memory/memory_share.cc index 1ddc13f90..5cb11d62b 100644 --- a/passes/memory/memory_share.cc +++ b/passes/memory/memory_share.cc @@ -555,7 +555,7 @@ struct MemorySharePass : public Pass { } break; } - extra_args(args, 1, design); + extra_args(args, argidx, design); MemoryShareWorker msw(design, flag_widen, flag_sat); for (auto module : design->selected_modules()) -- 2.30.2