[X86] LowerFunnelShift - use modulo constant shift amount.
commit9739a115f4b123f44e39649bee9c1bddc5984dd6
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 3 Jul 2019 10:04:16 +0000 (3 10:04 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 3 Jul 2019 10:04:16 +0000 (3 10:04 +0000)
tree979d0654ecf62c6d242f4072bf25676b587e5c58
parentce8c51822a93c69541fbe46fc783bfdc45d6a6e6
[X86] LowerFunnelShift - use modulo constant shift amount.

This avoids the use of getZExtValue and uses the modulo shift amount which is whats expected for funnel shifts anyhow.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365016 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp