resolve_par_reg_conflicts: generate unique names, region merging: generate common blocks with _c suffix

This commit is contained in:
2026-04-19 18:32:50 +03:00
parent bafd8a8f48
commit f43247b6da
2 changed files with 126 additions and 21 deletions

View File

@@ -280,7 +280,7 @@ static pair<string, string> createNewArray(DIST::Array *example_array, const str
const map<string, vector<FuncInfo *>> &allFuncInfo,
unordered_map<FuncInfo *, unordered_map<string, SgSymbol *>> &inserted_arrays)
{
auto common_block_name = base_name + "_merge_cb";
auto common_block_name = base_name + "_merge_r";
auto array_name = base_name;
for (const auto &by_file : allFuncInfo)