[llvm] r369266 - [nfc] Silent gcc warning

Serge Guelton via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 19 07:40:33 PDT 2019


Author: serge_sans_paille
Date: Mon Aug 19 07:40:33 2019
New Revision: 369266

URL: http://llvm.org/viewvc/llvm-project?rev=369266&view=rev
Log:
[nfc] Silent gcc warning

Modified:
    llvm/trunk/lib/Target/AArch64/AArch64InstructionSelector.cpp

Modified: llvm/trunk/lib/Target/AArch64/AArch64InstructionSelector.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64InstructionSelector.cpp?rev=369266&r1=369265&r2=369266&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64InstructionSelector.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64InstructionSelector.cpp Mon Aug 19 07:40:33 2019
@@ -2963,9 +2963,8 @@ bool AArch64InstructionSelector::selectU
   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!");
 




More information about the llvm-commits mailing list