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:
92da2c2
)
Fix my missing parens
author
Chris Lattner
<sabre@nondot.org>
Sat, 1 May 2004 22:41:51 +0000
(22:41 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 1 May 2004 22:41:51 +0000
(22:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13307
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Utils/SimplifyCFG.cpp
b/lib/Transforms/Utils/SimplifyCFG.cpp
index 78454645b323fb5332d4367dece795fa44d026bf..7f2060fbfc8293e8d2553f995e489bb9865ac01a 100644
(file)
--- a/
lib/Transforms/Utils/SimplifyCFG.cpp
+++ b/
lib/Transforms/Utils/SimplifyCFG.cpp
@@
-816,7
+816,7
@@
bool llvm::SimplifyCFG(BasicBlock *BB) {
if (BranchInst *PBI = dyn_cast<BranchInst>(OnlyPred->getTerminator()))
if (PBI->isConditional() &&
PBI->getCondition() == BI->getCondition() &&
-
PBI->getSuccessor(0) != BB || PBI->getSuccessor(1) != BB
) {
+
(PBI->getSuccessor(0) != BB || PBI->getSuccessor(1) != BB)
) {
// Okay, the outcome of this conditional branch is statically
// knowable. Delete the outgoing CFG edge that is impossible to
// execute.