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:
18924f1
)
If remating a machine instr with virtual register operand, make sure the vr is avalia...
author
Evan Cheng
<evan.cheng@apple.com>
Sat, 23 Feb 2008 02:14:42 +0000
(
02:14
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Sat, 23 Feb 2008 02:14:42 +0000
(
02:14
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47526
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LiveIntervalAnalysis.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LiveIntervalAnalysis.cpp
b/lib/CodeGen/LiveIntervalAnalysis.cpp
index f1de4d184efa1b5c0c220840d162a6a29a65bf86..a18f36afb7f6774dc3b6c5b6857536cc9d766bcf 100644
(file)
--- a/
lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/
lib/CodeGen/LiveIntervalAnalysis.cpp
@@
-680,8
+680,7
@@
bool LiveIntervals::isReMaterializable(const LiveInterval &li,
unsigned UseIdx = getInstructionIndex(UseMI);
if (li.FindLiveRangeContaining(UseIdx)->valno != ValNo)
continue;
- if (!canFoldMemoryOperand(UseMI, li.reg) &&
- !isValNoAvailableAt(ImpLi, MI, UseIdx))
+ if (!isValNoAvailableAt(ImpLi, MI, UseIdx))
return false;
}
}