HomePhabricator

[PowerPC] Fix SH field overflow issue

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

Details

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