aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2007-12-08 23:58:46 +0000
committerBill Wendling <isanbard@gmail.com>2007-12-08 23:58:46 +0000
commit0fe34c2912244200daa48d60e845f4fcf669e007 (patch)
treebf41bd0676f92a73fad2a128c060942ecf35bd47 /lib/CodeGen/LiveIntervalAnalysis.cpp
parent595c61f303919ac64c758b81fdae1e7487da6447 (diff)
downloadexternal_llvm-0fe34c2912244200daa48d60e845f4fcf669e007.zip
external_llvm-0fe34c2912244200daa48d60e845f4fcf669e007.tar.gz
external_llvm-0fe34c2912244200daa48d60e845f4fcf669e007.tar.bz2
Reverting 44702. It wasn't correct to rename them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44727 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp
index f4144e3..d151da3 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -613,7 +613,7 @@ bool LiveIntervals::isReMaterializable(const LiveInterval &li,
return false;
isLoad = false;
- if (tii_->hasNoSideEffects(MI)) {
+ if (tii_->isTriviallyReMaterializable(MI)) {
isLoad = MI->getInstrDescriptor()->Flags & M_LOAD_FLAG;
return true;
}