diff options
author | Dan Gohman <dan433584@gmail.com> | 2015-12-08 03:22:33 +0000 |
---|---|---|
committer | Dan Gohman <dan433584@gmail.com> | 2015-12-08 03:22:33 +0000 |
commit | 4a84b7322fb251cd2af65a0526b555e0a2e0714f (patch) | |
tree | 72fb7cbac8979cda331198aa380e56a952f34284 /llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp | |
parent | ce8eca578d6956885b46f1fb85173b1296f33dba (diff) | |
download | llvm-4a84b7322fb251cd2af65a0526b555e0a2e0714f.zip llvm-4a84b7322fb251cd2af65a0526b555e0a2e0714f.tar.gz llvm-4a84b7322fb251cd2af65a0526b555e0a2e0714f.tar.bz2 |
[WebAssembly] Remove the override of haveFastSqrt.
The default implementation in BasicTTI already checks TLI and does
the right thing.
llvm-svn: 254993
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp index ea7044d..3566317 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp @@ -25,8 +25,3 @@ WebAssemblyTTIImpl::getPopcntSupport(unsigned TyWidth) const { assert(isPowerOf2_32(TyWidth) && "Ty width must be power of 2"); return TargetTransformInfo::PSK_FastHardware; } - -bool WebAssemblyTTIImpl::haveFastSqrt(Type *Ty) const { - assert(Ty->isFPOrFPVectorTy() && "Ty must be floating point"); - return true; -} |