Skip to content

Commit b1b436c

Browse files
committed
[AArch64] Fix build error from extra !
This fixes a build failure caused by #108521
1 parent 3bd8f4e commit b1b436c

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)