Skip to content

Commit 32bc029

Browse files
committed
[AArch64] Fix signed comparison warning. NFC
1 parent b037bce commit 32bc029

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4748,7 +4748,7 @@ InstructionCost AArch64TTIImpl::getShuffleCost(
47484748
LT.second.getVectorNumElements() / 2) {
47494749
if (Index == 0)
47504750
return 0;
4751-
if (Index == LT.second.getVectorNumElements() / 2)
4751+
if (Index == (int)LT.second.getVectorNumElements() / 2)
47524752
return 1;
47534753
}
47544754
Kind = TTI::SK_PermuteSingleSrc;

0 commit comments

Comments
 (0)