diff options
author | Stephen Hines <srhines@google.com> | 2014-10-17 08:47:43 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2014-10-17 13:12:25 -0700 |
commit | bfc2d688b591c574c0cc788348c74545ce894efa (patch) | |
tree | ac7eadad1814ff2f989e716c1ed0bd8fd1557e9a /lib/CodeGen/MachineSink.cpp | |
parent | 06d8c96f9e7be298f0e1372ccb8dea18fe149afa (diff) | |
download | external_llvm-bfc2d688b591c574c0cc788348c74545ce894efa.zip external_llvm-bfc2d688b591c574c0cc788348c74545ce894efa.tar.gz external_llvm-bfc2d688b591c574c0cc788348c74545ce894efa.tar.bz2 |
Bring in fixes for Cortex-A53 errata + build updates.
Bug: 18034609
Change-Id: I2cf0094eb9df801a84274ff29018431d75da89dd
Diffstat (limited to 'lib/CodeGen/MachineSink.cpp')
-rw-r--r-- | lib/CodeGen/MachineSink.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineSink.cpp b/lib/CodeGen/MachineSink.cpp index f44e4d1..0ae495c 100644 --- a/lib/CodeGen/MachineSink.cpp +++ b/lib/CodeGen/MachineSink.cpp @@ -292,7 +292,7 @@ bool MachineSinking::isWorthBreakingCriticalEdge(MachineInstr *MI, if (!CEBCandidates.insert(std::make_pair(From, To))) return true; - if (!MI->isCopy() && !MI->isAsCheapAsAMove()) + if (!MI->isCopy() && !TII->isAsCheapAsAMove(MI)) return true; // MI is cheap, we probably don't want to break the critical edge for it. |