Skip to content

Commit 78ba3e7

Browse files
[AArch64][SVE] Fix typo after post review change to D141471.
1 parent 6458218 commit 78ba3e7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -558,8 +558,8 @@ bool AArch64ExpandPseudo::expand_DestructiveOp(
558558
if (FalseZero) {
559559
// If we cannot prefix the requested instruction we'll instead emit a
560560
// prefixed_zeroing_mov for DestructiveBinary.
561-
assert((DOPRegIsUnique || ((DType == AArch64::DestructiveBinary) ||
562-
(DType = AArch64::DestructiveBinaryComm))) &&
561+
assert((DOPRegIsUnique || DType == AArch64::DestructiveBinary ||
562+
DType == AArch64::DestructiveBinaryComm) &&
563563
"The destructive operand should be unique");
564564
assert(ElementSize != AArch64::ElementSizeNone &&
565565
"This instruction is unpredicated");
@@ -576,8 +576,8 @@ bool AArch64ExpandPseudo::expand_DestructiveOp(
576576
// Create the additional LSL to zero the lanes when the DstReg is not
577577
// unique. Zeros the lanes in z0 that aren't active in p0 with sequence
578578
// movprfx z0.b, p0/z, z0.b; lsl z0.b, p0/m, z0.b, #0;
579-
if (((DType == AArch64::DestructiveBinary) ||
580-
(DType == AArch64::DestructiveBinaryComm)) &&
579+
if ((DType == AArch64::DestructiveBinary ||
580+
DType == AArch64::DestructiveBinaryComm) &&
581581
!DOPRegIsUnique) {
582582
BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(LSLZero))
583583
.addReg(DstReg, RegState::Define)

0 commit comments

Comments
 (0)