Fix assertion in MachineInstr::substituteValue().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7675 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/MachineInstr.cpp b/lib/CodeGen/MachineInstr.cpp
index 8678d14..248adc2 100644
--- a/lib/CodeGen/MachineInstr.cpp
+++ b/lib/CodeGen/MachineInstr.cpp
@@ -135,8 +135,8 @@
bool defsOnly, bool notDefsAndUses,
bool& someArgsWereIgnored)
{
- assert((defsOnly || !notDefsAndUses) &&
- "notDefsAndUses is irrelevant if defsOnly == false.");
+ assert((!defsOnly || !notDefsAndUses) &&
+ "notDefsAndUses is irrelevant if defsOnly == true.");
unsigned numSubst = 0;