[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
Wed Dec 27 22:38:07 PST 2017


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

Fix the UB identified by Ben Kramer - thanks Ben.


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/pr35688.ll

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


More information about the llvm-commits mailing list