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 | 16ebb8ce739817c4def3872a2b5f800ce21cb5e6 (patch) | |
tree | 4a95387e7cb0e065698be99469963612be86a669 /include/llvm/CodeGen/LiveIntervalAnalysis.h | |
parent | 323ea0994d931be2cc3610fc1be0ae424b384527 (diff) | |
download | external_llvm-16ebb8ce739817c4def3872a2b5f800ce21cb5e6.zip external_llvm-16ebb8ce739817c4def3872a2b5f800ce21cb5e6.tar.gz external_llvm-16ebb8ce739817c4def3872a2b5f800ce21cb5e6.tar.bz2 |
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/llvm/CodeGen/LiveIntervalAnalysis.h')
-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 0318def..725beb7 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. |