projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52d36e6
)
Remove dead code causing a warning.
author
Bill Wendling
<isanbard@gmail.com>
Thu, 19 Jun 2008 18:00:44 +0000
(18:00 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Thu, 19 Jun 2008 18:00:44 +0000
(18:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52502
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/InstructionCombining.cpp
b/lib/Transforms/Scalar/InstructionCombining.cpp
index 481f397a3f9c30ba7ea49861ee843eaf1f046d45..72a27f500c942f5cbb2711b4ea06fa69ea0f72bd 100644
(file)
--- a/
lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/
lib/Transforms/Scalar/InstructionCombining.cpp
@@
-1655,8
+1655,6
@@
static Instruction *AssociativeOpt(BinaryOperator &Root, const Functor &F) {
// If the functor wants to apply the optimization to the RHS of LHSI,
// reassociate the expression from ((? op A) op B) to (? op (A op B))
if (ShouldApply) {
- BasicBlock *BB = Root.getParent();
-
// Now all of the instructions are in the current basic block, go ahead
// and perform the reassociation.
Instruction *TmpLHSI = cast<Instruction>(Root.getOperand(0));