diff options
| author | David Green <david.green@arm.com> | 2021-11-27 19:07:16 +0000 |
|---|---|---|
| committer | David Green <david.green@arm.com> | 2021-11-27 19:07:16 +0000 |
| commit | 7d5d063c7745672afaab9dc2e744d43093fa6062 (patch) | |
| tree | 1e85d31630a813207cbc93f4f48621b8c37ef68c /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | 7ba64ab05a174cc5cecacbc81dadc0ef48cc8ed1 (diff) | |
| download | llvm-7d5d063c7745672afaab9dc2e744d43093fa6062.zip llvm-7d5d063c7745672afaab9dc2e744d43093fa6062.tar.gz llvm-7d5d063c7745672afaab9dc2e744d43093fa6062.tar.bz2 | |
[ARM] Fold away unnecessary CSET/CMPZ
Codegen from expanded vector operations can end up with unnecessary
CMPZ/CSINC, of the form:
CSXYZ A, B, C1 (CMPZ (CSINC 0, 0, C2, D), 0)
These can be converted to remove the CMPZ and CSINC, depending on the
condition.
if C1==NE -> CSXYZ A, B, C2, D
if C1==EQ -> CSXYZ A, B, NOT(C2), D
Differential Revision: https://reviews.llvm.org/D114013
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
