[PATCH] D45205: [ARM] FP16 VSEL codegen follow up

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 9 07:33:37 PDT 2018


SjoerdMeijer updated this revision to Diff 141641.
SjoerdMeijer added a comment.

> Why are we generating more code for this case than the others?

There was some interaction between using "undef" as an operand and this "unordered or equal" operator. I have changed the test case to make it more intuitive (and realistic).  The generated code is identical to using float, except the .f16 and .f32 differences of course.


https://reviews.llvm.org/D45205

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45205.141641.patch
Type: text/x-patch
Size: 9927 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180409/8a613f34/attachment.bin>


More information about the llvm-commits mailing list