aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/LiveRangeEdit.cpp
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2014-10-17 20:24:27 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-10-17 20:24:27 +0000
commit0d30cfd0e95d828428d8fae164a4b567c005847a (patch)
treebcec4a74ba7cd1f74232529538cf67791ef27752 /lib/CodeGen/LiveRangeEdit.cpp
parent174cfc0e722b8cfd4887564e6c2d827e7e8764ba (diff)
parent281cc67b6ac794b1eb8232e6efca366d870dad43 (diff)
downloadexternal_llvm-0d30cfd0e95d828428d8fae164a4b567c005847a.zip
external_llvm-0d30cfd0e95d828428d8fae164a4b567c005847a.tar.gz
external_llvm-0d30cfd0e95d828428d8fae164a4b567c005847a.tar.bz2
am 281cc67b: Merge "Bring in fixes for Cortex-A53 errata + build updates."
* commit '281cc67b6ac794b1eb8232e6efca366d870dad43': Bring in fixes for Cortex-A53 errata + build updates.
Diffstat (limited to 'lib/CodeGen/LiveRangeEdit.cpp')
-rw-r--r--lib/CodeGen/LiveRangeEdit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveRangeEdit.cpp b/lib/CodeGen/LiveRangeEdit.cpp
index 431241f..c27d630 100644
--- a/lib/CodeGen/LiveRangeEdit.cpp
+++ b/lib/CodeGen/LiveRangeEdit.cpp
@@ -135,7 +135,7 @@ bool LiveRangeEdit::canRematerializeAt(Remat &RM,
}
// If only cheap remats were requested, bail out early.
- if (cheapAsAMove && !RM.OrigMI->isAsCheapAsAMove())
+ if (cheapAsAMove && !TII.isAsCheapAsAMove(RM.OrigMI))
return false;
// Verify that all used registers are available with the same values.