diff options
author | Yi-Hong Lyu <Yi-Hong.Lyu@ibm.com> | 2019-07-23 19:11:07 +0000 |
---|---|---|
committer | Yi-Hong Lyu <Yi-Hong.Lyu@ibm.com> | 2019-07-23 19:11:07 +0000 |
commit | 41a010a4ef16f5c67c45d759f5d664c24e8a7afe (patch) | |
tree | 6df2f3929a9afb7b5185b0a312e7e7591d3e65a6 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp | |
parent | 62ac91f36909b8d8d964c0536075f73537f15f09 (diff) | |
download | bcm5719-llvm-41a010a4ef16f5c67c45d759f5d664c24e8a7afe.tar.gz bcm5719-llvm-41a010a4ef16f5c67c45d759f5d664c24e8a7afe.zip |
[PowerPC] Remove redundant load immediate instructions
Currently PowerPC backend emits code like this:
r3 = li 0
std r3, 264(r1)
r3 = li 0
std r3, 272(r1)
This patch fixes that and other cases where a register already contains a value that is loaded so we will get:
r3 = li 0
std r3, 264(r1)
std r3, 272(r1)
Differential Revision: https://reviews.llvm.org/D64220
llvm-svn: 366840
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp')
0 files changed, 0 insertions, 0 deletions