diff options
author | Lang Hames <lhames@gmail.com> | 2011-11-02 23:37:04 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2011-11-02 23:37:04 +0000 |
commit | a1e78888d95375194e7513bef3e18d9f1b7d45bf (patch) | |
tree | 28f3051997e75e7e3ae2512f4d92c93029bfa3a2 | |
parent | eefb0de6dc383faa2d95536ac5e9deb71958d953 (diff) | |
download | external_llvm-a1e78888d95375194e7513bef3e18d9f1b7d45bf.zip external_llvm-a1e78888d95375194e7513bef3e18d9f1b7d45bf.tar.gz external_llvm-a1e78888d95375194e7513bef3e18d9f1b7d45bf.tar.bz2 |
Fixed parameter name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143594 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/ARMISelLowering.cpp | 4 | ||||
-rw-r--r-- | lib/Target/ARM/ARMISelLowering.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index 222a399..336f730 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/lib/Target/ARM/ARMISelLowering.cpp @@ -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) { diff --git a/lib/Target/ARM/ARMISelLowering.h b/lib/Target/ARM/ARMISelLowering.h index 43e43dd..be6a530 100644 --- a/lib/Target/ARM/ARMISelLowering.h +++ b/lib/Target/ARM/ARMISelLowering.h @@ -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; |