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
This commit is contained in:
Nick Lewycky 2012-12-24 19:58:45 +00:00
parent c18f889ee0
commit 71f30bffcf

View 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 =