Fix a parentheses warning introduced in r215394.
authorQuentin Colombet <qcolombet@apple.com>
Tue, 12 Aug 2014 17:11:26 +0000 (17:11 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Tue, 12 Aug 2014 17:11:26 +0000 (17:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215459 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/TargetInstrInfo.cpp

index 8c57beb5ee9583b54c6ba0d0a6370255e4dc2ac6..44fbc4bb63124f5ce086438ff5b43af116c00345 100644 (file)
@@ -856,8 +856,8 @@ computeOperandLatency(const InstrItineraryData *ItinData,
 bool TargetInstrInfo::getRegSequenceInputs(
     const MachineInstr &MI, unsigned DefIdx,
     SmallVectorImpl<RegSubRegPairAndIdx> &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);