- Rename isLegalMemOpType to isSafeMemOpType. "Legal" is a very overloade term.
[oota-llvm.git] / lib / Target / Mips / MipsISelLowering.cpp
index 619ae077b30cd55cf29a32e7627d7974751cbf99..5edf82bc7f00e8bac359ab704e305fb2c8df14d5 100644 (file)
@@ -3476,7 +3476,7 @@ MipsTargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const {
 }
 
 EVT MipsTargetLowering::getOptimalMemOpType(uint64_t Size, unsigned DstAlign,
-                                            unsigned SrcAlign, bool IsZeroVal,
+                                            unsigned SrcAlign, bool ZeroOrLdSrc,
                                             bool MemcpyStrSrc,
                                             MachineFunction &MF) const {
   if (Subtarget->hasMips64())