projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[CodeGenPrepare] Use variables for reused values. NFC.
[oota-llvm.git]
/
lib
/
CodeGen
/
BranchFolding.cpp
diff --git
a/lib/CodeGen/BranchFolding.cpp
b/lib/CodeGen/BranchFolding.cpp
index d8436fcc6014d533b63f446289cafecd0041ce61..2128da1b8aac0673c84eac151f59765ccaa90bc8 100644
(file)
--- a/
lib/CodeGen/BranchFolding.cpp
+++ b/
lib/CodeGen/BranchFolding.cpp
@@
-916,7
+916,7
@@
bool BranchFolder::TailMergeBlocks(MachineFunction &MF) {
continue;
// Visit each predecessor only once.
- if (!UniquePreds.insert(PBB))
+ if (!UniquePreds.insert(PBB)
.second
)
continue;
// Skip blocks which may jump to a landing pad. Can't tail merge these.