From 47bd3994b79938bfc340ed80148a5ddf6337552c Mon Sep 17 00:00:00 2001 From: Matthew Simpson Date: Wed, 27 Apr 2016 16:25:04 +0000 Subject: [PATCH] Add parentheses to silence buildbot warning llvm-svn: 267734 --- llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.7.4