diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-03-02 19:03:01 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-03-02 19:03:01 +0000 |
commit | 62e795ab8c576f1578a6f33b06fc2ee5827365b1 (patch) | |
tree | 029f4f3e6995e55c7d4eaca29144e96eb12ce0a8 /llvm/lib/CodeGen/MachineSink.cpp | |
parent | 10194a425cc0a19bdbbf4e8b0b6c45561f6da589 (diff) | |
download | bcm5719-llvm-62e795ab8c576f1578a6f33b06fc2ee5827365b1.tar.gz bcm5719-llvm-62e795ab8c576f1578a6f33b06fc2ee5827365b1.zip |
Swap parameters of isSafeToMove and isSafeToReMat for consistency.
llvm-svn: 97578
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineSink.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineSink.cpp b/llvm/lib/CodeGen/MachineSink.cpp index c3915761645..9ba7d1486e0 100644 --- a/llvm/lib/CodeGen/MachineSink.cpp +++ b/llvm/lib/CodeGen/MachineSink.cpp @@ -149,7 +149,7 @@ bool MachineSinking::ProcessBlock(MachineBasicBlock &MBB) { /// instruction out of its current block into a successor. bool MachineSinking::SinkInstruction(MachineInstr *MI, bool &SawStore) { // Check if it's safe to move the instruction. - if (!MI->isSafeToMove(TII, SawStore, AA)) + if (!MI->isSafeToMove(TII, AA, SawStore)) return false; // FIXME: This should include support for sinking instructions within the |