]> granicus.if.org Git - llvm/commit
Merging r329852:
authorTom Stellard <tstellar@redhat.com>
Fri, 13 Apr 2018 23:26:20 +0000 (23:26 +0000)
committerTom Stellard <tstellar@redhat.com>
Fri, 13 Apr 2018 23:26:20 +0000 (23:26 +0000)
commit4c9ba56670df7d094bec54a665a981ffc85529d9
tree6c053e368504a9231beaa2c01869a8226acac0b6
parente73bd18593c1c246e1078a65711b5ba2a733c6b5
Merging r329852:

------------------------------------------------------------------------
r329852 | nemanjai | 2018-04-11 14:25:44 -0700 (Wed, 11 Apr 2018) | 8 lines

[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/branches/release_60@330076 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCInstrInfo.cpp
test/CodeGen/PowerPC/convert-rr-to-ri-instrs.mir