diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-11-30 21:23:43 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-11-30 21:23:43 +0000 |
commit | cddbb83ea82e98658d9f530c50a7b9d23249afc2 (patch) | |
tree | 4a95387e7cb0e065698be99469963612be86a669 /include | |
parent | cd883f203d23c7e44b12dff62df2e6d65d8f231c (diff) |
Do not fold reload into an instruction with multiple uses. It issues one extra load.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44467 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/LiveIntervalAnalysis.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h index 0318def5a0..725beb708c 100644 --- a/include/llvm/CodeGen/LiveIntervalAnalysis.h +++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h @@ -274,8 +274,9 @@ namespace llvm { /// MI. If it is successul, MI is updated with the newly created MI and /// returns true. bool tryFoldMemoryOperand(MachineInstr* &MI, VirtRegMap &vrm, - MachineInstr *DefMI, unsigned index, unsigned i, - bool isSS, int slot, unsigned reg); + MachineInstr *DefMI, unsigned InstrIdx, + unsigned OpIdx, unsigned NumUses, + bool isSS, int Slot, unsigned Reg); /// anyKillInMBBAfterIdx - Returns true if there is a kill of the specified /// VNInfo that's after the specified index but is within the basic block. |