[InstCombine] matchFunnelShift - remove shift value commutation. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 12 Oct 2020 14:55:18 +0000 (15:55 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 12 Oct 2020 14:55:18 +0000 (15:55 +0100)
commitfa566233706ce8345f2c0152b51312a217b848c9
treefa5acd77a82c413a359f558ef3f0b42fddd4eb84
parent02295e6d1a1559f0689aeca09d98f468e3f29d9a
[InstCombine] matchFunnelShift - remove shift value commutation. NFCI.

After rG02295e6d1a15 we no longer need to invert the shift values for fshr - this is just hidden at the moment as funnel shifts only ever match for constant values so never use the fshr "Sub on SHL" path.
llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp