diff options
-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 = |