projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Adds fake conditional branches right after relaxed loads if necessary
[oota-llvm.git]
/
lib
/
CodeGen
/
MachineBlockPlacement.cpp
diff --git
a/lib/CodeGen/MachineBlockPlacement.cpp
b/lib/CodeGen/MachineBlockPlacement.cpp
index f5e3056450116514c2960b7c7794a248257bef1b..4beaa7f396436b47825b08499c522cba4fb1a802 100644
(file)
--- a/
lib/CodeGen/MachineBlockPlacement.cpp
+++ b/
lib/CodeGen/MachineBlockPlacement.cpp
@@
-1271,7
+1271,10
@@
void MachineBlockPlacement::buildCFGChains(MachineFunction &F) {
//
bool needUpdateBr = true;
if (!Cond.empty() && (!FBB || FBB == ChainBB)) {
+ // XXX-disabled: Don't bother with added fake conditional branches.
+ /*
PrevBB->updateTerminator();
+ */
needUpdateBr = false;
Cond.clear();
TBB = FBB = nullptr;