[SelectionDAG] SelectionDAGLegalize::ExpandBITREVERSE - ensure we use ShiftTy
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 31 Oct 2018 18:14:14 +0000 (18:14 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 31 Oct 2018 18:14:14 +0000 (18:14 +0000)
commit805cdcfe738d3edd907b8d5ffd9e0e08f2ca57e6
treef3ea953d470dd9c45153cd736c9174eaa4b3d90a
parent8f81aed12d6c8f2c2be7abcda38391addb617aaa
[SelectionDAG] SelectionDAGLegalize::ExpandBITREVERSE - ensure we use ShiftTy

We should be using the getShiftAmountTy value type for shift amounts.

llvm-svn: 345756
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp