Change ! ( ...== ...) to !=.
authorVikram S. Adve <vadve@cs.uiuc.edu>
Sun, 30 Sep 2001 23:45:08 +0000 (23:45 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Sun, 30 Sep 2001 23:45:08 +0000 (23:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@680 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/InstrSelection/InstrForest.cpp
lib/Target/SparcV9/InstrSelection/InstrForest.cpp

index f7091a29c61bb4a12f0c0c96ebafca5b9fb8bf53..9f4df08d3842fead1af7eaa4fc26440f0a6d9062 100644 (file)
@@ -303,7 +303,7 @@ InstrForest::buildTreeForInstruction(Instruction *instr)
          if (operand->isInstruction() && operand->use_size() == 1 &&
              ((Instruction*)operand)->getParent() == instr->getParent() &&
              ! instr->isPHINode() &&
-             ! instr->getOpcode() == Instruction::Call)
+             instr->getOpcode() != Instruction::Call)
            {
              // Recursively create a treeNode for it.
              opTreeNode = buildTreeForInstruction((Instruction*)operand);
index f7091a29c61bb4a12f0c0c96ebafca5b9fb8bf53..9f4df08d3842fead1af7eaa4fc26440f0a6d9062 100644 (file)
@@ -303,7 +303,7 @@ InstrForest::buildTreeForInstruction(Instruction *instr)
          if (operand->isInstruction() && operand->use_size() == 1 &&
              ((Instruction*)operand)->getParent() == instr->getParent() &&
              ! instr->isPHINode() &&
-             ! instr->getOpcode() == Instruction::Call)
+             instr->getOpcode() != Instruction::Call)
            {
              // Recursively create a treeNode for it.
              opTreeNode = buildTreeForInstruction((Instruction*)operand);