OSDN Git Service

[InstCombine][AVX-512] Teach InstCombineCalls how to handle the intrinsics for variab...
authorCraig Topper <craig.topper@gmail.com>
Fri, 18 Nov 2016 06:04:33 +0000 (06:04 +0000)
committerCraig Topper <craig.topper@gmail.com>
Fri, 18 Nov 2016 06:04:33 +0000 (06:04 +0000)
commit35b775d13a246892a85c639e21c98bfde870faef
treee9e78dc4f8a8fcd3982651322456d7761450a42b
parente5e77e4a92c4a808c763f9de7149738dd214add4
[InstCombine][AVX-512] Teach InstCombineCalls how to handle the intrinsics for variable shift with 16-bit elements.

This is a straightforward extension of the existing support for 32/64-bit element types. Just needed to add the additional instrinsics to the switches.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287316 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCalls.cpp
test/Transforms/InstCombine/x86-vector-shifts.ll