diff options
author | Chad Rosier <mcrosier@codeaurora.org> | 2017-07-23 16:38:08 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@codeaurora.org> | 2017-07-23 16:38:08 +0000 |
commit | 9b2b4c961aa80b83ce78e1d6c65522fc02584fe3 (patch) | |
tree | 767d8d52b97130a76eb76e7b23df5db8c04d7191 /lldb/packages/Python/lldbsuite/test/lang/cpp/gmodules/TestWithModuleDebugging.py | |
parent | e0c3f90687a83d7ea8a18efa411b87200ccb9dfb (diff) | |
download | bcm5719-llvm-9b2b4c961aa80b83ce78e1d6c65522fc02584fe3.tar.gz bcm5719-llvm-9b2b4c961aa80b83ce78e1d6c65522fc02584fe3.zip |
[AArch64] Redundant Copy Elimination - remove more zero copies.
This patch removes unnecessary zero copies in BBs that are targets of b.eq/b.ne
and we know the result of the compare instruction is zero. For example,
BB#0:
subs w0, w1, w2
str w0, [x1]
b.ne .LBB0_2
BB#1:
mov w0, wzr ; <-- redundant
str w0, [x2]
.LBB0_2
Differential Revision: https://reviews.llvm.org/D35075
llvm-svn: 308849
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/gmodules/TestWithModuleDebugging.py')
0 files changed, 0 insertions, 0 deletions