]> granicus.if.org Git - llvm/commit
Merging r322373:
authorTom Stellard <tstellar@redhat.com>
Sat, 14 Apr 2018 02:06:40 +0000 (02:06 +0000)
committerTom Stellard <tstellar@redhat.com>
Sat, 14 Apr 2018 02:06:40 +0000 (02:06 +0000)
commit0b57b47378e5b31693c6b2ef899ffb10c6b09e09
tree1a3a7d649638bb166daed5585266eec422f1cd5a
parent4c9ba56670df7d094bec54a665a981ffc85529d9
Merging r322373:

------------------------------------------------------------------------
r322373 | d0k | 2018-01-12 07:03:24 -0800 (Fri, 12 Jan 2018) | 4 lines

[PowerPC] Don't miscompile rotate+mask into an ANDIo if it can't recreate the immediate

I'm not even sure if this transform is ever worth it, but this at least
stops the bleeding.
------------------------------------------------------------------------

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