diff options
| author | Craig Topper <craig.topper@intel.com> | 2018-05-14 17:50:40 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2018-05-14 17:50:40 +0000 |
| commit | 25de41cfbcb6e374a244ac4c9f76c74e669459fd (patch) | |
| tree | 58ea32aba0123d940e60cdde5f3b37db242c6332 /clang/lib/Basic | |
| parent | 64a2ea41eaca32a6ba66db6b699ca33b2eee095b (diff) | |
| download | bcm5719-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

