summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-07 23:44:37 +0000
committerChris Lattner <sabre@nondot.org>2010-01-07 23:44:37 +0000
commit35d3b9dcd01691ea966b1d6023e0f9368a56c959 (patch)
tree61319cb92d353acef977bc810020000affda7e1a /llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
parent7b6a068801243c84e9a89e0405c012c9844693e6 (diff)
downloadbcm5719-llvm-35d3b9dcd01691ea966b1d6023e0f9368a56c959.tar.gz
bcm5719-llvm-35d3b9dcd01691ea966b1d6023e0f9368a56c959.zip
teach ComputeNumSignBits to look through PHI nodes.
llvm-svn: 92964
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstructionCombining.cpp')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstructionCombining.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
index 60231857222..93b196126b2 100644
--- a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
@@ -1027,8 +1027,6 @@ static bool AddReachableCodeToWorklist(BasicBlock *BB,
continue;
}
-
-
if (TD) {
// See if we can constant fold its operands.
for (User::op_iterator i = Inst->op_begin(), e = Inst->op_end();
@@ -1047,7 +1045,6 @@ static bool AddReachableCodeToWorklist(BasicBlock *BB,
}
}
}
-
InstrsForInstCombineWorklist.push_back(Inst);
}
OpenPOWER on IntegriCloud