diff --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp index aba2d1117a6d1b..e7282aad05e26b 100644 --- a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp +++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp @@ -15157,8 +15157,8 @@ static bool performTBISimplification(SDValue Addr, } static SDValue foldTruncStoreOfExt(SelectionDAG &DAG, SDNode *N) { - assert(N->getOpcode() == ISD::STORE || - N->getOpcode() == ISD::MSTORE && "Expected STORE dag node in input!"); + assert((N->getOpcode() == ISD::STORE || N->getOpcode() == ISD::MSTORE) && + "Expected STORE dag node in input!"); if (auto Store = dyn_cast(N)) { if (!Store->isTruncatingStore() || Store->isIndexed())