summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerge Guelton <sguelton@redhat.com>2019-08-19 14:40:33 +0000
committerSerge Guelton <sguelton@redhat.com>2019-08-19 14:40:33 +0000
commita023d6b7de784719398cfd81b9f2fe871fa35293 (patch)
tree7f5378c0e0734ab1a6b939003c47f4c0d70df276
parent42336682b211e7d9909a6e9077e0bd87e8085122 (diff)
downloadbcm5719-llvm-a023d6b7de784719398cfd81b9f2fe871fa35293.tar.gz
bcm5719-llvm-a023d6b7de784719398cfd81b9f2fe871fa35293.zip
[nfc] Silent gcc warning
llvm-svn: 369266
-rw-r--r--llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp5
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!");
OpenPOWER on IntegriCloud