[PATCH] D66991: [PowerPC] Fix SH field overflow issue
Yi-Hong Lyu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 29 21:57:57 PDT 2019
Yi-Hong.Lyu created this revision.
Yi-Hong.Lyu added reviewers: power-llvm-team, hfinkel, echristo, nemanjai, stefanp, lei.
Herald added subscribers: llvm-commits, shchenz, jsji, MaskRay, kbarton, hiraditya.
Herald added a project: LLVM.
Store rlwinm Rx, Ry, 32, 0, 31 as rlwinm Rx, Ry, 0, 0, 31 and store
rldicl Rx, Ry, 64, 0 as rldicl Rx, Ry, 0, 0. Otherwise SH field is overflow
and trigger assertion during assembly generation.
https://reviews.llvm.org/D66991
Files:
llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
llvm/test/CodeGen/PowerPC/convert-rr-to-ri-instrs.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66991.218023.patch
Type: text/x-patch
Size: 3860 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190830/172dd3d6/attachment.bin>
More information about the llvm-commits
mailing list