Skip to content

Commit 1af3fb3

Browse files
Dimus77igcbot
authored andcommitted
Sync change
1 parent 8eb9254 commit 1af3fb3

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

IGC/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@ unset(_debugConfigs)
224224
# ======================================================================================================
225225

226226

227-
228227
# ======================================================================================================
229228
# ========================================= BUILD CMAKE OPTIONS ========================================
230229
# ======================================================================================================

IGC/Compiler/Optimizer/Scalarizer.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ ScalarizeFunction::~ScalarizeFunction()
7272
{
7373
releaseAllSCMEntries();
7474
delete[] m_SCMAllocationArray;
75+
destroyDummyFunc();
7576
V_PRINT(scalarizer, "ScalarizeFunction destructor\n");
7677
}
7778

@@ -155,8 +156,6 @@ bool ScalarizeFunction::runOnFunction(Function& F)
155156
(*index)->eraseFromParent();
156157
}
157158

158-
destroyDummyFunc();
159-
160159
V_PRINT(scalarizer, "\nCompleted scalarizing function: " << m_currFunc->getName() << "\n");
161160
return true;
162161
}

0 commit comments

Comments
 (0)