[Hexagon] Correct the order of operands when lowering funnel shift-left
authorIkhlas Ajbar <iajbar@quicinc.com>
Tue, 28 Jul 2020 21:35:34 +0000 (16:35 -0500)
committerIkhlas Ajbar <iajbar@quicinc.com>
Wed, 29 Jul 2020 02:22:41 +0000 (21:22 -0500)
commitd50d4c3d440c1d5a5a2003b782f8fbb7cc7b1441
tree675438db15ac0c4bea27422a7553d272338f78da
parentd3527052fc2a952d752f82ffbe39220bad33fc8d
[Hexagon] Correct the order of operands when lowering funnel shift-left

This patch corrects the order of operands in the pattern that lowers fshl
in Hexagon.
llvm/lib/Target/Hexagon/HexagonPatterns.td
llvm/test/CodeGen/Hexagon/funnel-shift.ll
llvm/test/CodeGen/Hexagon/funnel-shift2.ll [new file with mode: 0644]