git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265973 91177308-0d34-0410-b5e6-96231b3b80d8
This is the straightforward fix for PR26760: https://llvm.org/bugs/show_bug.cgi?id=26760 But we still need to make some changes to generalize this helper function and then send the lshr case into here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265960 91177308-0d34-0410-b5e6-96231b3b80d8
This is step 1 of refactoring to solve PR26760: https://llvm.org/bugs/show_bug.cgi?id=26760 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265946 91177308-0d34-0410-b5e6-96231b3b80d8