We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 572491e commit 5d5a98aCopy full SHA for 5d5a98a
IGC/Compiler/CISACodeGen/DeSSA.cpp
@@ -1193,14 +1193,15 @@ void DeSSA::getAllValuesInCongruentClass(
1193
// a sequence of insertElement is in congruent class. The RootValue
1194
// has its liveness modified to cover all InsertElements that are
1195
// grouped together.
1196
- Value* RootV = V;
+ Value* RootV = nullptr;
1197
if (IGC_IS_FLAG_ENABLED(EnableDeSSAAlias))
1198
{
1199
- RootV = getRootValue(RootV);
+ RootV = getNodeValue(V);
1200
}
1201
else {
1202
- RootV = getInsEltRoot(RootV);
+ RootV = getInsEltRoot(V);
1203
1204
+ assert(RootV && "ICE: Node value should not be nullptr!");
1205
ValsInCC.push_back(RootV);
1206
auto RI = RegNodeMap.find(RootV);
1207
if (RI != RegNodeMap.end()) {
0 commit comments