From 693defb6eae7fe96deddf0bcf1a54fcf2776b4b5 Mon Sep 17 00:00:00 2001 From: Quentin Colombet Date: Tue, 12 Aug 2014 17:11:26 +0000 Subject: [PATCH] Fix a parentheses warning introduced in r215394. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215459 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/TargetInstrInfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/CodeGen/TargetInstrInfo.cpp b/lib/CodeGen/TargetInstrInfo.cpp index 8c57beb5ee9..44fbc4bb631 100644 --- a/lib/CodeGen/TargetInstrInfo.cpp +++ b/lib/CodeGen/TargetInstrInfo.cpp @@ -856,8 +856,8 @@ computeOperandLatency(const InstrItineraryData *ItinData, bool TargetInstrInfo::getRegSequenceInputs( const MachineInstr &MI, unsigned DefIdx, SmallVectorImpl &InputRegs) const { - assert(MI.isRegSequence() || - MI.isRegSequenceLike() && "Instruction do not have the proper type"); + assert((MI.isRegSequence() || + MI.isRegSequenceLike()) && "Instruction do not have the proper type"); if (!MI.isRegSequence()) return getRegSequenceLikeInputs(MI, DefIdx, InputRegs);