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:
2249a0b
)
tidy up
author
Chris Lattner
<sabre@nondot.org>
Tue, 12 Jan 2010 02:07:50 +0000
(
02:07
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 12 Jan 2010 02:07:50 +0000
(
02:07
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93222
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/JumpThreading.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/JumpThreading.cpp
b/lib/Transforms/Scalar/JumpThreading.cpp
index f0468738d58febd5143e04f171720f8ab2a9304d..edb0412bfe12f4e9f9f476d04ea3d5b9dba39e1b 100644
(file)
--- a/
lib/Transforms/Scalar/JumpThreading.cpp
+++ b/
lib/Transforms/Scalar/JumpThreading.cpp
@@
-1175,11
+1175,7
@@
bool JumpThreading::ProcessBranchOnXOR(BinaryOperator *BO) {
}
// Try to duplicate BB into PredBB.
- if (DuplicateCondBranchOnPHIIntoPred(BB, BlocksToFoldInto)) {
-// errs() << "CLONE XOR COND: " << *BB << "Into PRED: " << *BlocksToFoldInto[0];
- return true;
- }
- return false;
+ return DuplicateCondBranchOnPHIIntoPred(BB, BlocksToFoldInto);
}