From 1daf8c2a1626d7d80df27aa3dbbcdc9471007a4c Mon Sep 17 00:00:00 2001 From: Akira Hatanaka Date: Wed, 13 Jun 2012 19:33:32 +0000 Subject: Set a higher value for maxStoresPerMemcpy in MipsISelLowering.cpp. llvm-svn: 158414 --- llvm/lib/Target/Mips/MipsISelLowering.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'llvm/lib/Target/Mips/MipsISelLowering.h') diff --git a/llvm/lib/Target/Mips/MipsISelLowering.h b/llvm/lib/Target/Mips/MipsISelLowering.h index 740cf06406f..e45d352b415 100644 --- a/llvm/lib/Target/Mips/MipsISelLowering.h +++ b/llvm/lib/Target/Mips/MipsISelLowering.h @@ -195,6 +195,11 @@ namespace llvm { virtual bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const; + virtual EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, + unsigned SrcAlign, bool IsZeroVal, + bool MemcpyStrSrc, + MachineFunction &MF) const; + /// isFPImmLegal - Returns true if the target can instruction select the /// specified FP immediate natively. If false, the legalizer will /// materialize the FP immediate as a load from a constant pool. -- cgit v1.2.3