diff options
Diffstat (limited to 'llvm/lib/Target/ARM/ARMTargetTransformInfo.h')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMTargetTransformInfo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMTargetTransformInfo.h b/llvm/lib/Target/ARM/ARMTargetTransformInfo.h index 7808587c205..0fe964f36de 100644 --- a/llvm/lib/Target/ARM/ARMTargetTransformInfo.h +++ b/llvm/lib/Target/ARM/ARMTargetTransformInfo.h @@ -54,6 +54,10 @@ public: bool enableInterleavedAccessVectorization() { return true; } + bool isFPVectorizationPotentiallyUnsafe() { + return !ST->hasFPARMv8() && !ST->isTargetDarwin(); + } + /// \name Scalar TTI Implementations /// @{ |

