Skip to content

Commit d69630f

Browse files
committed
Fix merge
1 parent 0692b01 commit d69630f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

merge.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ int main(int argc, char **argv) {
285285
} else if (match(U.get(), m_Constant(C)) &&
286286
C->containsUndefOrPoisonElement()) {
287287
Constant *ReplaceC =
288-
Constant::getNullValue(I.getType()->getScalarType());
288+
Constant::getNullValue(C->getType()->getScalarType());
289289
U.set(Constant::replaceUndefsWith(C, ReplaceC));
290290
}
291291
}

0 commit comments

Comments
 (0)