aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/ModuleUtils.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2016-12-25 23:58:57 +0000
committerCraig Topper <craig.topper@gmail.com>2016-12-25 23:58:57 +0000
commite328045711717a0743c4b43e6e967d975e32d8ce (patch)
treeb09ab01fcfb8f751863c27345871e2dff2b46a14 /llvm/lib/Transforms/Utils/ModuleUtils.cpp
parentc6b46d80c8938b58d935b5b3a69768a53e217409 (diff)
downloadllvm-e328045711717a0743c4b43e6e967d975e32d8ce.zip
llvm-e328045711717a0743c4b43e6e967d975e32d8ce.tar.gz
llvm-e328045711717a0743c4b43e6e967d975e32d8ce.tar.bz2
[AVX-512][InstCombine] Teach InstCombine to converted masked vpermv intrinsics into shufflevector instructions
Summary: This patch adds support for converting the masked vpermv intrinsics into shufflevector instructions if the indices are constants. We also need to wrap a select instruction around the shuffle to take care of the masking part. InstCombine will take care of optimizing the select if the mask is constant so I didn't bother checking for that. Reviewers: zvi, delena, spatel, RKSimon Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D27825 llvm-svn: 290530
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions