Skip to content

Commit f5fa16c

Browse files
SamTebbs33tmsri
authored andcommitted
[AArch64] Fix build error from extra !
This fixes a build failure caused by llvm#108521
1 parent 69ff2a0 commit f5fa16c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ static InstructionCost getHistogramCost(const IntrinsicCostAttributes &ICA) {
534534
// HistCnt only supports 32b and 64b element types
535535
unsigned LegalEltSize = EltSize <= 32 ? 32 : 64;
536536

537-
if (EC == 2 || (!LegalEltSize == 32 && EC == 4))
537+
if (EC == 2 || (LegalEltSize == 32 && EC == 4))
538538
return InstructionCost(BaseHistCntCost);
539539

540540
unsigned NaturalVectorWidth = AArch64::SVEBitsPerBlock / LegalEltSize;

0 commit comments

Comments
 (0)