Skip to content

Commit 901584f

Browse files
author
git apple-llvm automerger
committed
Merge commit '282bdb4146d4' from llvm.org/main into next
2 parents 8f316c0 + 282bdb4 commit 901584f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2558,7 +2558,7 @@ bool AArch64TargetLowering::targetShrinkDemandedConstant(
25582558
return false;
25592559

25602560
// Exit early if we demand all bits.
2561-
if (DemandedBits.popcount() == Size)
2561+
if (DemandedBits.isAllOnes())
25622562
return false;
25632563

25642564
unsigned NewOpc;

0 commit comments

Comments
 (0)