From: Matthew Simpson Date: Wed, 27 Apr 2016 16:25:04 +0000 (+0000) Subject: Add parentheses to silence buildbot warning X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=47bd3994b79938bfc340ed80148a5ddf6337552c;p=platform%2Fupstream%2Fllvm.git Add parentheses to silence buildbot warning llvm-svn: 267734 --- diff --git a/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp b/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp index 8e832ff..1684d2f 100644 --- a/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp +++ b/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp @@ -296,8 +296,8 @@ int AArch64TTIImpl::getExtractWithExtendCost(unsigned Opcode, Type *Dst, unsigned Index) { // Make sure we were given a valid extend opcode. - assert(Opcode == Instruction::SExt || - Opcode == Instruction::ZExt && "Invalid opcode"); + assert((Opcode == Instruction::SExt || Opcode == Instruction::ZExt) && + "Invalid opcode"); // We are extending an element we extract from a vector, so the source type // of the extend is the element type of the vector.