diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2012-12-24 19:58:45 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2012-12-24 19:58:45 +0000 |
commit | 71f30bffcf158ffac8c75bb67872e275b7f87e47 (patch) | |
tree | 8fea0f83b781adc6ce29696231a95803a832f16c | |
parent | c18f889ee0471c18cdc32d5e9f34d74026ca62bf (diff) | |
download | llvm-71f30bffcf158ffac8c75bb67872e275b7f87e47.tar.gz llvm-71f30bffcf158ffac8c75bb67872e275b7f87e47.tar.bz2 llvm-71f30bffcf158ffac8c75bb67872e275b7f87e47.tar.xz |
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
-rw-r--r-- | lib/Target/X86/X86ISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 7eff0468d0..5f7f915097 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<unsigned, MVT> LT = getTypeLegalizationCost(Src); - assert(Opcode == Instruction::Load || Opcode == Instruction::Store && + assert((Opcode == Instruction::Load || Opcode == Instruction::Store) && "Invalid Opcode"); const X86Subtarget &ST = |