HomePhabricator

[PowerPC] Fix SH field overflow issue

Authored by Yi-Hong.Lyu on Oct 2 2019, 1:25 PM.

Description

[PowerPC] Fix SH field overflow issue

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
fails assertion in assembly printing stage.

Differential Revision: https://reviews.llvm.org/D66991

llvm-svn: 373519

Details

Committed
Yi-Hong.LyuOct 2 2019, 1:25 PM
Differential Revision
D66991: [PowerPC] Fix SH field overflow issue
Parents
rGe55c442b1b65: [sanitizer_common] Rename OnPrint to __sanitizer_on_print.
Branches
Unknown
Tags
Unknown