aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2018-07-11 13:34:09 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2018-07-11 13:34:09 +0000
commit2f963a7e83df52c31c363cd8336233ba8f71a254 (patch)
treecb13ea35bb63211d7ae56c9e23fcb81416774de9 /clang/unittests/Basic/VirtualFileSystemTest.cpp
parent0b492f7fb85ce8a2a5002e713fc1bf4e7940f427 (diff)
downloadllvm-2f963a7e83df52c31c363cd8336233ba8f71a254.zip
llvm-2f963a7e83df52c31c363cd8336233ba8f71a254.tar.gz
llvm-2f963a7e83df52c31c363cd8336233ba8f71a254.tar.bz2
[SLPVectorizer] Add initial alternate opcode support for cast instructions.
We currently only support binary instructions in the alternate opcode shuffles. This patch is an initial attempt at adding cast instructions as well, this raises several issues that we probably want to address as we continue to generalize the alternate mechanism: 1 - Duplication of cost determination - we should probably add scalar/vector costs helper functions and get BoUpSLP::getEntryCost to use them instead of determining costs directly. 2 - Support alternate instructions with the same opcode (e.g. casts with different src types) - alternate vectorization of calls with different IntrinsicIDs will require this. 3 - Allow alternates to be a different instruction type - mixing binary/cast/call etc. 4 - Allow passthrough of unsupported alternate instructions - related to PR30787/D28907 'copyable' elements. Differential Revision: https://reviews.llvm.org/D49135 llvm-svn: 336804
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions