diff options
| author | Renato Golin <renato.golin@linaro.org> | 2016-04-18 12:06:47 +0000 |
|---|---|---|
| committer | Renato Golin <renato.golin@linaro.org> | 2016-04-18 12:06:47 +0000 |
| commit | 4b18a510a2bb9371352e0f4c6c577a6ffba825f5 (patch) | |
| tree | f958a0fbd921695b535d2d7c2612a1b7fe66220a /llvm/lib | |
| parent | c6924fa5d66045b9a2982fa131d7b3f5d7bf217a (diff) | |
| download | bcm5719-llvm-4b18a510a2bb9371352e0f4c6c577a6ffba825f5.tar.gz bcm5719-llvm-4b18a510a2bb9371352e0f4c6c577a6ffba825f5.zip | |
[ARM] AArch32 v8 NEON is still not IEEE-754 compliant
llvm-svn: 266603
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMTargetTransformInfo.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMTargetTransformInfo.h b/llvm/lib/Target/ARM/ARMTargetTransformInfo.h index e07174eb40b..76b3f58de65 100644 --- a/llvm/lib/Target/ARM/ARMTargetTransformInfo.h +++ b/llvm/lib/Target/ARM/ARMTargetTransformInfo.h @@ -54,8 +54,11 @@ public: bool enableInterleavedAccessVectorization() { return true; } + /// Floating-point computation using ARMv8 AArch32 Advanced + /// SIMD instructions remains unchanged from ARMv7. Only AArch64 SIMD + /// is IEEE-754 compliant, but it's not covered in this target. bool isFPVectorizationPotentiallyUnsafe() { - return !ST->hasFPARMv8() && !ST->isTargetDarwin(); + return !ST->isTargetDarwin(); } /// \name Scalar TTI Implementations |

