[PATCH] D58813: [ARM] Fix select_cc lowering for fp16

Oliver Stannard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 1 01:28:52 PST 2019


olista01 created this revision.
olista01 added reviewers: efriedma, SjoerdMeijer.
Herald added subscribers: jdoerfert, kristof.beyls, javed.absar.
Herald added a project: LLVM.

When lowering a select_cc node where the true and false values are of type f16, we can't use a general conditional move because the FP16 instructions do not support conditional execution. Instead, we must ensure that the condition code is one of the four supported by the VSEL instruction.


Repository:
  rL LLVM

https://reviews.llvm.org/D58813

Files:
  lib/Target/ARM/ARMISelLowering.cpp
  test/CodeGen/ARM/vsel-fp16.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58813.188863.patch
Type: text/x-patch
Size: 26218 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190301/709bb482/attachment.bin>


More information about the llvm-commits mailing list