From: Nick Lewycky Date: Mon, 24 Dec 2012 19:58:45 +0000 (+0000) Subject: Quiet gcc's -Wparenthesis warning. No functionality change. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=71f30bffcf158ffac8c75bb67872e275b7f87e47;p=oota-llvm.git Quiet gcc's -Wparenthesis warning. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171044 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 7eff0468d0a..5f7f9150977 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -17966,7 +17966,7 @@ X86VectorTargetTransformInfo::getMemoryOpCost(unsigned Opcode, Type *Src, unsigned AddressSpace) const { // Legalize the type. std::pair LT = getTypeLegalizationCost(Src); - assert(Opcode == Instruction::Load || Opcode == Instruction::Store && + assert((Opcode == Instruction::Load || Opcode == Instruction::Store) && "Invalid Opcode"); const X86Subtarget &ST =