summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2012-12-24 19:58:45 +0000
committerNick Lewycky <nicholas@mxc.ca>2012-12-24 19:58:45 +0000
commit71f30bffcf158ffac8c75bb67872e275b7f87e47 (patch)
tree8fea0f83b781adc6ce29696231a95803a832f16c
parentc18f889ee0471c18cdc32d5e9f34d74026ca62bf (diff)
downloadllvm-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.cpp2
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 =