HomePhabricator

[ARM] Fix select_cc lowering for fp16

Description

[ARM] Fix select_cc lowering for fp16

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.

Differential revision: https://reviews.llvm.org/D58813

Details

Committed
olista01Mar 5 2019, 2:42 AM
Differential Revision
D58813: [ARM] Fix select_cc lowering for fp16
Parents
rL355384: [AMDGPU] Omit KILL instructions from hazard recognizer
Branches
Unknown
Tags
Unknown