aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineSink.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-05-19 21:22:20 +0000
committerMatthias Braun <matze@braunis.de>2015-05-19 21:22:20 +0000
commit07066cca20ca8569f4e6b9ebeca62cb747022303 (patch)
tree65ff92e948f15290a51b744ecb219dffe9915a0a /llvm/lib/CodeGen/MachineSink.cpp
parent1cdd948f5bd4792f0cff03a0431d8cd9cf06c697 (diff)
downloadllvm-07066cca20ca8569f4e6b9ebeca62cb747022303.zip
llvm-07066cca20ca8569f4e6b9ebeca62cb747022303.tar.gz
llvm-07066cca20ca8569f4e6b9ebeca62cb747022303.tar.bz2
MachineInstr: Remove unused parameter.
llvm-svn: 237726
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineSink.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineSink.cpp b/llvm/lib/CodeGen/MachineSink.cpp
index c35d6e0..5f03390 100644
--- a/llvm/lib/CodeGen/MachineSink.cpp
+++ b/llvm/lib/CodeGen/MachineSink.cpp
@@ -652,7 +652,7 @@ bool MachineSinking::SinkInstruction(MachineInstr *MI, bool &SawStore) {
return false;
// Check if it's safe to move the instruction.
- if (!MI->isSafeToMove(TII, AA, SawStore))
+ if (!MI->isSafeToMove(AA, SawStore))
return false;
// FIXME: This should include support for sinking instructions within the
@@ -694,7 +694,7 @@ bool MachineSinking::SinkInstruction(MachineInstr *MI, bool &SawStore) {
// other code paths.
bool TryBreak = false;
bool store = true;
- if (!MI->isSafeToMove(TII, AA, store)) {
+ if (!MI->isSafeToMove(AA, store)) {
DEBUG(dbgs() << " *** NOTE: Won't sink load along critical edge.\n");
TryBreak = true;
}