[PATCH] D58561: [AArch64] Generate FP16 vector compare instructions

Abderrazek Zaafrani via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 22 16:29:07 PST 2019


az created this revision.
az added a reviewer: SjoerdMeijer.
Herald added subscribers: llvm-commits, jdoerfert, hiraditya, kristof.beyls, javed.absar.
Herald added a project: LLVM.

We currently generate inefficient code for fp16 vector compare instructions: Comparison is done one element at a time. With this patch and when the fp16 feature is on, vector comparison instructions are generated.


Repository:
  rL LLVM

https://reviews.llvm.org/D58561

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/fp16-v4-instructions.ll
  llvm/test/CodeGen/AArch64/fp16-v8-instructions.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58561.188007.patch
Type: text/x-patch
Size: 18414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190223/d4a1a30a/attachment.bin>


More information about the llvm-commits mailing list