diff options
author | Eli Friedman <efriedma@quicinc.com> | 2019-04-02 00:01:23 +0000 |
---|---|---|
committer | Eli Friedman <efriedma@quicinc.com> | 2019-04-02 00:01:23 +0000 |
commit | 3813fe0bda83f40355c23298c3ca887c51ce3b22 (patch) | |
tree | e5621e5ddaf3d44cecca43b35e1008bc21a66794 /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp | |
parent | 73af6ef2e7525a9fc47e1219552955c7635bc660 (diff) | |
download | bcm5719-llvm-3813fe0bda83f40355c23298c3ca887c51ce3b22.tar.gz bcm5719-llvm-3813fe0bda83f40355c23298c3ca887c51ce3b22.zip |
[ARM] Optimize expressions like "return x != 0;" for Thumb1.
There's an existing optimization for x != C, but somehow it was missing
a special case for 0.
While I'm here, also cleaned up the code/comments a bit: the second
value produced by the MERGE_VALUES was actually dead, since a CMOV only
produces one result.
Differential Revision: https://reviews.llvm.org/D59616
llvm-svn: 357437
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions