[PATCH] D110312: [X86][ISel] setOperationAction for FROUND(f16) and FROUNDEVEN(f16)

Freddy, Ye via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 23 00:03:37 PDT 2021


FreddyYe created this revision.
Herald added subscribers: pengfei, hiraditya.
FreddyYe requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

When AVX512FP16 is enabled, such SDNode will not promote and be dealt with
TypeLegalize, and no libcall can emit for f16 now. This patch is a work
around to avoid compiler abort for such ISel.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110312

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/fp-round.ll
  llvm/test/CodeGen/X86/fp-roundeven.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110312.374453.patch
Type: text/x-patch
Size: 6137 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210923/a2e2d76a/attachment.bin>


More information about the llvm-commits mailing list