From a023d6b7de784719398cfd81b9f2fe871fa35293 Mon Sep 17 00:00:00 2001 From: Serge Guelton Date: Mon, 19 Aug 2019 14:40:33 +0000 Subject: [PATCH] [nfc] Silent gcc warning llvm-svn: 369266 --- llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp b/llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp index bab15dd8e751..59db0da18748 100644 --- a/llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp +++ b/llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp @@ -2963,9 +2963,8 @@ bool AArch64InstructionSelector::selectUnmergeValues( const LLT NarrowTy = MRI.getType(I.getOperand(0).getReg()); const LLT WideTy = MRI.getType(SrcReg); (void)WideTy; - assert(WideTy.isVector() || - WideTy.getSizeInBits() == 128 && - "can only unmerge from vector or s128 types!"); + assert((WideTy.isVector() || WideTy.getSizeInBits() == 128) && + "can only unmerge from vector or s128 types!"); assert(WideTy.getSizeInBits() > NarrowTy.getSizeInBits() && "source register size too small!");