OSDN Git Service

Fixed parameter name.
authorLang Hames <lhames@gmail.com>
Wed, 2 Nov 2011 23:37:04 +0000 (23:37 +0000)
committerStephen Hines <srhines@google.com>
Mon, 14 Nov 2011 17:11:42 +0000 (09:11 -0800)
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 222a399..336f730 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 43e43dd..be6a530 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;