Skip to content

Commit 30012aa

Browse files
author
Thorsten Schütt
committed
ping ci
1 parent 3952f98 commit 30012aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/GlobalISel/CombinerHelperCasts.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ bool CombinerHelper::matchTruncateOfExt(const MachineInstr &Root,
149149
}
150150

151151
if (SrcTy.getScalarSizeInBits() > DstTy.getScalarSizeInBits()) {
152-
// The source is larger than the destination. We need to truncate.
152+
// If the source is larger than the destination, we need to truncate.
153153

154154
if (!isLegalOrBeforeLegalizer({TargetOpcode::G_TRUNC, {DstTy, SrcTy}}))
155155
return false;

0 commit comments

Comments
 (0)