Quiet gcc's -Wparenthesis warning. No functionality change.
authorNick Lewycky <nicholas@mxc.ca>
Mon, 24 Dec 2012 19:58:45 +0000 (19:58 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Mon, 24 Dec 2012 19:58:45 +0000 (19:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171044 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index 7eff0468d0a713916af053cb55a26672271c5567..5f7f9150977d18ccdd6bb5c291a2bb008cb2e9e4 100644 (file)
@@ -17966,7 +17966,7 @@ X86VectorTargetTransformInfo::getMemoryOpCost(unsigned Opcode, Type *Src,
                                               unsigned AddressSpace) const {
   // Legalize the type.
   std::pair<unsigned, MVT> LT = getTypeLegalizationCost(Src);
-  assert(Opcode == Instruction::Load || Opcode == Instruction::Store &&
+  assert((Opcode == Instruction::Load || Opcode == Instruction::Store) &&
          "Invalid Opcode");
 
   const X86Subtarget &ST =