[llvm] r215459 - Fix a parentheses warning introduced in r215394.
Quentin Colombet
qcolombet at apple.com
Tue Aug 12 10:11:27 PDT 2014
Author: qcolombet
Date: Tue Aug 12 12:11:26 2014
New Revision: 215459
URL: http://llvm.org/viewvc/llvm-project?rev=215459&view=rev
Log:
Fix a parentheses warning introduced in r215394.
Modified:
llvm/trunk/lib/CodeGen/TargetInstrInfo.cpp
Modified: llvm/trunk/lib/CodeGen/TargetInstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/TargetInstrInfo.cpp?rev=215459&r1=215458&r2=215459&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/TargetInstrInfo.cpp (original)
+++ llvm/trunk/lib/CodeGen/TargetInstrInfo.cpp Tue Aug 12 12:11:26 2014
@@ -856,8 +856,8 @@ computeOperandLatency(const InstrItinera
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);
More information about the llvm-commits
mailing list