summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-05-14 17:50:40 +0000
committerCraig Topper <craig.topper@intel.com>2018-05-14 17:50:40 +0000
commit25de41cfbcb6e374a244ac4c9f76c74e669459fd (patch)
tree58ea32aba0123d940e60cdde5f3b37db242c6332 /clang/lib/Basic
parent64a2ea41eaca32a6ba66db6b699ca33b2eee095b (diff)
downloadbcm5719-llvm-25de41cfbcb6e374a244ac4c9f76c74e669459fd.tar.gz
bcm5719-llvm-25de41cfbcb6e374a244ac4c9f76c74e669459fd.zip
[X86] Use __builtin_convertvector to replace some of the avx512 truncate builtins.
As long as the destination type is a 256 or 128 bit vector with the same number of elements we can use __builtin_convertvector to directly generate trunc IR instruction which will be handled natively by the backend. Differential Revision: https://reviews.llvm.org/D46742 llvm-svn: 332266
Diffstat (limited to 'clang/lib/Basic')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud