diff options
author | czhengsz <czhengsz@cn.ibm.com> | 2019-12-25 21:52:56 -0500 |
---|---|---|
committer | czhengsz <czhengsz@cn.ibm.com> | 2019-12-25 21:56:18 -0500 |
commit | 1b57749a5334ae3d854c6f8732e741ef9f977219 (patch) | |
tree | 7f8ab9391842b30845996d5880f5ab515be638e5 /lldb/packages/Python/lldbsuite/test/python_api/signals/main.cpp | |
parent | 6599d004679e04f0d9e9c5b6c8503e463db79a1f (diff) | |
download | bcm5719-llvm-1b57749a5334ae3d854c6f8732e741ef9f977219.tar.gz bcm5719-llvm-1b57749a5334ae3d854c6f8732e741ef9f977219.zip |
[PowerPC] stop folding if result rlwinm mask is wrap while original rlwinm is not.
%1:g8rc = RLWINM8 %0:g8rc, 0, 16, 9
%2:g8rc = RLWINM8 killed %1:g8rc, 0, 0, 31
->
%2:g8rc = RLWINM8 %0:g8rc, 0, 16, 9
The above folding is wrong. Before transformation, %2:g8rc is 32 bit value. After
transformation, %2:g8rc becomes a 64 bit value.
This patch fixes above issue.
Reviewed by: steven.zhang
Differential Revision: https://reviews.llvm.org/D71833
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/signals/main.cpp')
0 files changed, 0 insertions, 0 deletions