diff options
author | Dan Gohman <gohman@apple.com> | 2010-04-16 20:11:05 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-04-16 20:11:05 +0000 |
commit | 148c69a3f608cf1687dcf661ddc1e3aa282e262a (patch) | |
tree | 37d9cd38e5e7bc01b1aae087d45ba1e35e8aa179 /llvm/lib/Target/PowerPC/PPCISelLowering.h | |
parent | 9dbe61456a73dd1e60408b3ffa39c347424c5d67 (diff) | |
download | bcm5719-llvm-148c69a3f608cf1687dcf661ddc1e3aa282e262a.tar.gz bcm5719-llvm-148c69a3f608cf1687dcf661ddc1e3aa282e262a.zip |
Eliminate an unnecessary SelectionDAG dependency in getOptimalMemOpType.
llvm-svn: 101531
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCISelLowering.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.h b/llvm/lib/Target/PowerPC/PPCISelLowering.h index f7d629b9980..13c57e64b8e 100644 --- a/llvm/lib/Target/PowerPC/PPCISelLowering.h +++ b/llvm/lib/Target/PowerPC/PPCISelLowering.h @@ -357,12 +357,12 @@ namespace llvm { /// non-scalar-integer type, e.g. empty string source, constant, or loaded /// from memory. 'MemcpyStrSrc' indicates whether the memcpy source is /// constant so it does not need to be loaded. - /// It returns EVT::Other if SelectionDAG should be responsible for - /// determining the type. + /// It returns EVT::Other if the type should be determined using generic + /// target-independent logic. virtual EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign, bool NonScalarIntSafe, bool MemcpyStrSrc, - SelectionDAG &DAG) const; + MachineFunction &MF) const; /// getFunctionAlignment - Return the Log2 alignment of this function. virtual unsigned getFunctionAlignment(const Function *F) const; |