mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-17 00:46:42 +00:00
Remove unneeded check, and correct style.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108427 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c88c1a4581
commit
2722dfa75d
@ -1395,9 +1395,8 @@ bool llvm::FoldBranchToCommonDest(BranchInst *BI) {
|
||||
// register pressure or inhibit out-of-order execution.
|
||||
Instruction *BonusInst = 0;
|
||||
if (&*FrontIt != Cond &&
|
||||
(*FrontIt).hasOneUse() && *(*FrontIt).use_begin() == Cond &&
|
||||
(*FrontIt).isSafeToSpeculativelyExecute() &&
|
||||
!(*FrontIt).mayReadFromMemory()) {
|
||||
FrontIt->hasOneUse() && *FrontIt->use_begin() == Cond &&
|
||||
FrontIt->isSafeToSpeculativelyExecute()) {
|
||||
BonusInst = &*FrontIt;
|
||||
++FrontIt;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user