diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-06-18 16:25:01 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-06-18 16:25:01 +0000 |
commit | 5b962b2fc345a66cd40cd9f1ac65d8b3b55ab794 (patch) | |
tree | d06614ac1078a5ee4e43dc2e104614c41724dc76 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 88c142b42bedb78b3f2c1fb4995697c64859c027 (diff) | |
download | llvm-5b962b2fc345a66cd40cd9f1ac65d8b3b55ab794.zip llvm-5b962b2fc345a66cd40cd9f1ac65d8b3b55ab794.tar.gz llvm-5b962b2fc345a66cd40cd9f1ac65d8b3b55ab794.tar.bz2 |
[SLPVectorizer] Tidyup isShuffle helper
Ensure we keep track of the input vectors in all cases instead of just for SK_Select.
Ideally we'd reuse the shuffle mask pattern matching in TargetTransformInfo::getInstructionThroughput here to easily add support for all TargetTransformInfo::ShuffleKind without mass code duplication, I've added a TODO for now but D48236 should help us here.
Differential Revision: https://reviews.llvm.org/D48023
llvm-svn: 334958
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions