diff options
author | Victor Campos <Victor.Campos@arm.com> | 2019-11-19 09:55:16 +0000 |
---|---|---|
committer | Victor Campos <Victor.Campos@arm.com> | 2019-11-29 10:40:37 +0000 |
commit | e478385e7708d0bcef43559651e6d62e387a507a (patch) | |
tree | 804b559f8cf81a6ba993ba88242d6509a922ec30 /lldb/source/Core/Module.cpp | |
parent | e702bdb8598fcb4224f465569e7692a155c3eb3e (diff) | |
download | bcm5719-llvm-e478385e7708d0bcef43559651e6d62e387a507a.tar.gz bcm5719-llvm-e478385e7708d0bcef43559651e6d62e387a507a.zip |
[ARM] Fix instruction selection for ARMISD::CMOV with f16 type
Summary:
In the cases where the CMOV (f16) SDNode is used with condition codes
LT, LE, VC or NE, it is successfully selected into a VSEL instruction.
In the remaining cases, however, instruction selection fails since VSEL
does not support other condition codes.
This patch handles such cases by using the single-precision version of
the VMOV instruction.
Reviewers: ostannard, dmgreen
Reviewed By: dmgreen
Subscribers: kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70667
Diffstat (limited to 'lldb/source/Core/Module.cpp')
0 files changed, 0 insertions, 0 deletions