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:
0c2e7b9
)
Un-tabify.
author
Evan Cheng
<evan.cheng@apple.com>
Tue, 13 Jan 2009 06:08:37 +0000
(06:08 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Tue, 13 Jan 2009 06:08:37 +0000
(06:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62151
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SimpleRegisterCoalescing.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SimpleRegisterCoalescing.cpp
b/lib/CodeGen/SimpleRegisterCoalescing.cpp
index c5fe8c498628dadb5e384ab5b90da9f41fea57b4..d809ef1b028683f64726d485a103e3595cdc6e7f 100644
(file)
--- a/
lib/CodeGen/SimpleRegisterCoalescing.cpp
+++ b/
lib/CodeGen/SimpleRegisterCoalescing.cpp
@@
-1744,7
+1744,7
@@
SimpleRegisterCoalescing::JoinIntervals(LiveInterval &LHS, LiveInterval &RHS,
// less conservative check. It's possible a sub-register is defined before
// v1024 (or live in) and live out of BB1.
if (RHS.containsOneValue() &&
- li_->intervalIsInOneMBB(RHS) &&
+
li_->intervalIsInOneMBB(RHS) &&
li_->getApproximateInstructionCount(RHS) <= 10) {
// Perform a more exhaustive check for some common cases.
if (li_->conflictsWithPhysRegRef(RHS, LHS.reg, true, JoinedCopies))