diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-07 23:44:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-07 23:44:37 +0000 |
commit | 8d10f9d4a836907d7bf048be507787a9233959c9 (patch) | |
tree | 21be48bcfc65dcd32560bc00f4e168315adc89ac /lib/Transforms/InstCombine/InstructionCombining.cpp | |
parent | e3874deb61fb01354ca32996e941060956fc4d41 (diff) | |
download | external_llvm-8d10f9d4a836907d7bf048be507787a9233959c9.tar.gz external_llvm-8d10f9d4a836907d7bf048be507787a9233959c9.tar.bz2 external_llvm-8d10f9d4a836907d7bf048be507787a9233959c9.zip |
teach ComputeNumSignBits to look through PHI nodes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92964 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/InstCombine/InstructionCombining.cpp')
-rw-r--r-- | lib/Transforms/InstCombine/InstructionCombining.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Transforms/InstCombine/InstructionCombining.cpp b/lib/Transforms/InstCombine/InstructionCombining.cpp index 6023185722..93b196126b 100644 --- a/lib/Transforms/InstCombine/InstructionCombining.cpp +++ b/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); } |