summaryrefslogtreecommitdiffstats
path: root/clang/www/cxx_dr_status.html
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-10-06 18:43:08 +0000
committerCraig Topper <craig.topper@intel.com>2019-10-06 18:43:08 +0000
commit570ae49d030c987fd68fc81896301411d87b10f9 (patch)
tree5696218e410e64e55f31d14fbaddb928f6fb7bf6 /clang/www/cxx_dr_status.html
parent842dde6be437f5d59304bd10379cf2a61d776b0d (diff)
downloadbcm5719-llvm-570ae49d030c987fd68fc81896301411d87b10f9.tar.gz
bcm5719-llvm-570ae49d030c987fd68fc81896301411d87b10f9.zip
[X86] Add custom type legalization for v16i64->v16i8 truncate and v8i64->v8i8 truncate when v8i64 isn't legal
Summary: The default legalization for v16i64->v16i8 tries to create a multiple stage truncate concatenating after each stage and truncating again. But avx512 implements truncates with multiple uops. So it should be better to truncate all the way to the desired element size and then concatenate the pieces using unpckl instructions. This minimizes the number of 2 uop truncates. The unpcks are all single uop instructions. I tried to handle this by just custom splitting the v16i64->v16i8 shuffle. And hoped that the DAG combiner would leave the two halves in the state needed to make D68374 do the job for each half. This worked for the first half, but the second half got messed up. So I've implemented custom handling for v8i64->v8i8 when v8i64 needs to be split to produce the VTRUNCs directly. Reviewers: RKSimon, spatel Reviewed By: RKSimon Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68428 llvm-svn: 373864
Diffstat (limited to 'clang/www/cxx_dr_status.html')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud