Skip to content

Commit 3b60666

Browse files
committed
resolve conflict
1 parent f774ff8 commit 3b60666

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/VectorCombine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ bool VectorCombine::foldBitOpOfCastConstant(Instruction &I) {
984984

985985
// Find the constant InvC, such that castop(InvC) equals to C.
986986
PreservedCastFlags RHSFlags;
987-
Constant *InvC = getLosslessInvCast(C, SrcVecTy, CastOpcode, *DL, &RHSFlags);
987+
Constant *InvC = getLosslessInvCast(C, SrcTy, CastOpcode, *DL, &RHSFlags);
988988
if (!InvC)
989989
return false;
990990

0 commit comments

Comments
 (0)