summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-02-25 08:50:41 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-02-25 08:50:41 +0000
commit589a9fb6dcfc7b9aa492af7a60f7b2882dd8fed6 (patch)
treed8e8275c2f29302500d4cb27a4b308dbb2ddb808 /llvm/include
parentdf1d2b02f9ac1a00a5a00d7f7ea617b6ac841e34 (diff)
downloadbcm5719-llvm-589a9fb6dcfc7b9aa492af7a60f7b2882dd8fed6.tar.gz
bcm5719-llvm-589a9fb6dcfc7b9aa492af7a60f7b2882dd8fed6.zip
Correctly determine whether a argument load can be folded into its uses.
llvm-svn: 47545
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h b/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h
index ad7364082c1..3474ed3f7be 100644
--- a/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h
+++ b/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h
@@ -348,8 +348,8 @@ namespace llvm {
/// canFoldMemoryOperand - Return true if the specified load / store
/// folding is possible.
bool canFoldMemoryOperand(MachineInstr *MI,
- SmallVector<unsigned, 2> &Ops) const;
- bool canFoldMemoryOperand(MachineInstr *MI, unsigned Reg) const;
+ SmallVector<unsigned, 2> &Ops,
+ bool ReMatLoadSS) const;
/// anyKillInMBBAfterIdx - Returns true if there is a kill of the specified
/// VNInfo that's after the specified index but is within the basic block.
OpenPOWER on IntegriCloud