diff options
author | Serge Guelton <sguelton@redhat.com> | 2019-08-19 14:40:33 +0000 |
---|---|---|
committer | Serge Guelton <sguelton@redhat.com> | 2019-08-19 14:40:33 +0000 |
commit | a023d6b7de784719398cfd81b9f2fe871fa35293 (patch) | |
tree | 7f5378c0e0734ab1a6b939003c47f4c0d70df276 | |
parent | 42336682b211e7d9909a6e9077e0bd87e8085122 (diff) | |
download | bcm5719-llvm-a023d6b7de784719398cfd81b9f2fe871fa35293.tar.gz bcm5719-llvm-a023d6b7de784719398cfd81b9f2fe871fa35293.zip |
[nfc] Silent gcc warning
llvm-svn: 369266
-rw-r--r-- | llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp b/llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp index bab15dd8e75..59db0da1874 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!"); |