[PowerPC] Fix condition for 64-bit rotate when replacing r+r instr with r+i
commit4cd717c51332761af096c28da96829d3f7b1e156
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Wed, 11 Apr 2018 21:25:44 +0000 (11 21:25 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Wed, 11 Apr 2018 21:25:44 +0000 (11 21:25 +0000)
tree8da45c9820210d3bac36c4dff57d6d72b6529088
parentd85c559bc5b6d878902c96c42388ddb57090180f
[PowerPC] Fix condition for 64-bit rotate when replacing r+r instr with r+i

This patch fixes https://bugs.llvm.org/show_bug.cgi?id=37039
The condition only covers one of the two 64-bit rotate instructions. This just
adds the second (RLDICLo).

Patch by Josh Stone.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@329852 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCInstrInfo.cpp
test/CodeGen/PowerPC/convert-rr-to-ri-instrs.mir