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 0692b01 commit d69630fCopy full SHA for d69630f
merge.cpp
@@ -285,7 +285,7 @@ int main(int argc, char **argv) {
285
} else if (match(U.get(), m_Constant(C)) &&
286
C->containsUndefOrPoisonElement()) {
287
Constant *ReplaceC =
288
- Constant::getNullValue(I.getType()->getScalarType());
+ Constant::getNullValue(C->getType()->getScalarType());
289
U.set(Constant::replaceUndefsWith(C, ReplaceC));
290
}
291
0 commit comments