Fixed parameter name.
authorLang Hames <lhames@gmail.com>
Wed, 2 Nov 2011 23:37:04 +0000 (23:37 +0000)
committerLang Hames <lhames@gmail.com>
Wed, 2 Nov 2011 23:37:04 +0000 (23:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143594 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMISelLowering.h

index 222a399c28c1b25ec4a1d9bb00aae9097f854a73..336f730ba4ff50a738ade9fef3d160cf554184c1 100644 (file)
@@ -8135,13 +8135,13 @@ static bool memOpAlign(unsigned DstAlign, unsigned SrcAlign,
 
 EVT ARMTargetLowering::getOptimalMemOpType(uint64_t Size,
                                            unsigned DstAlign, unsigned SrcAlign,
-                                           bool NonScalarIntSafe,
+                                           bool IsZeroVal,
                                            bool MemcpyStrSrc,
                                            MachineFunction &MF) const {
   const Function *F = MF.getFunction();
 
   // See if we can use NEON instructions for this...
-  if (NonScalarIntSafe &&
+  if (IsZeroVal &&
       !F->hasFnAttr(Attribute::NoImplicitFloat) &&
       Subtarget->hasNEON()) {
     if (memOpAlign(SrcAlign, DstAlign, 16) && Size >= 16) {
index 43e43dd35bfeb1550c70ffdd66a195015f62cbb6..be6a53032cac15b5a6ee73942d4143ad3addc740 100644 (file)
@@ -270,7 +270,7 @@ namespace llvm {
 
     virtual EVT getOptimalMemOpType(uint64_t Size,
                                     unsigned DstAlign, unsigned SrcAlign,
-                                    bool NonScalarIntSafe,
+                                    bool IsZeroVal,
                                     bool MemcpyStrSrc,
                                     MachineFunction &MF) const;