From 71f30bffcf158ffac8c75bb67872e275b7f87e47 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Mon, 24 Dec 2012 19:58:45 +0000 Subject: [PATCH] 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 --- lib/Target/X86/X86ISelLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = -- 2.34.1