[PATCH] D41369: [PowerPC] Fix for PR35688 - handle out-of-range values for r+r to r+i conversion

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 28 04:09:15 PST 2017


nemanjai updated this revision to Diff 128287.
nemanjai added a comment.

Add a test case for the edge case where operand 3 of `RLWINM` is a zero.


Repository:
  rL LLVM

https://reviews.llvm.org/D41369

Files:
  lib/Target/PowerPC/PPCInstrInfo.cpp
  lib/Target/PowerPC/PPCInstrInfo.h
  lib/Target/PowerPC/PPCMIPeephole.cpp
  lib/Target/PowerPC/PPCPreEmitPeephole.cpp
  test/CodeGen/PowerPC/convert-rr-to-ri-instrs-out-of-range.mir
  test/CodeGen/PowerPC/convert-rr-to-ri-instrs.mir
  test/CodeGen/PowerPC/pr35688.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41369.128287.patch
Type: text/x-patch
Size: 51048 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171228/1ad86b79/attachment-0001.bin>


More information about the llvm-commits mailing list