diff --git a/lib/CodeGen/InstrSelection/InstrForest.cpp b/lib/CodeGen/InstrSelection/InstrForest.cpp index f7091a29c61..9f4df08d384 100644 --- a/lib/CodeGen/InstrSelection/InstrForest.cpp +++ b/lib/CodeGen/InstrSelection/InstrForest.cpp @@ -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); diff --git a/lib/Target/SparcV9/InstrSelection/InstrForest.cpp b/lib/Target/SparcV9/InstrSelection/InstrForest.cpp index f7091a29c61..9f4df08d384 100644 --- a/lib/Target/SparcV9/InstrSelection/InstrForest.cpp +++ b/lib/Target/SparcV9/InstrSelection/InstrForest.cpp @@ -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);