Skip to content

Commit f9965c5

Browse files
author
git apple-llvm automerger
committed
Merge commit 'b1b436c10810' from llvm.org/main into next
2 parents 0567bcb + b1b436c commit f9965c5

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)