summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
diff options
context:
space:
mode:
authorSiddharth Bhat <siddu.druid@gmail.com>2017-08-31 13:03:37 +0000
committerSiddharth Bhat <siddu.druid@gmail.com>2017-08-31 13:03:37 +0000
commit56572c6a5e47eb8581662f436810e2472416e91f (patch)
tree0defd5a1f42823af74f391e6af6d6b1d679d6bf3 /llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
parent80df64239593200f9d79312fd22975457f981b58 (diff)
downloadbcm5719-llvm-56572c6a5e47eb8581662f436810e2472416e91f.tar.gz
bcm5719-llvm-56572c6a5e47eb8581662f436810e2472416e91f.zip
[PPCGCodeGen] Convert intrinsics to libdevice functions whenever possible.
This is useful when we face certain intrinsics such as `llvm.exp.*` which cannot be lowered by the NVPTX backend while other intrinsics can. So, we would need to keep blacklists of intrinsics that cannot be handled by the NVPTX backend. It is much simpler to try and promote all intrinsics to libdevice versions. This patch makes function/intrinsic very uniform, and will always try to use a libdevice version if it exists. Differential Revision: https://reviews.llvm.org/D37056 llvm-svn: 312239
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud