[all-commits] [llvm/llvm-project] 902ec6: [X86][ISel] Lowering FROUND(f16) and FROUNDEVEN(f16)

FreddyLeaf via All-commits all-commits at lists.llvm.org
Sun Sep 26 22:44:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 902ec6142a6f662f9e5c11710f489063eb2aa1d8
      https://github.com/llvm/llvm-project/commit/902ec6142a6f662f9e5c11710f489063eb2aa1d8
  Author: Freddy Ye <freddy.ye at intel.com>
  Date:   2021-09-27 (Mon, 27 Sep 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/fp-round.ll
    M llvm/test/CodeGen/X86/fp-roundeven.ll
    M llvm/test/CodeGen/X86/fp-strict-scalar-round-fp16.ll

  Log Message:
  -----------
  [X86][ISel] Lowering FROUND(f16) and FROUNDEVEN(f16)

When AVX512FP16 is enabled, FROUND(f16) cannot be dealt with
TypeLegalize, and no libcall in libm is ready for fround(f16) now.
FROUNDEVEN(f16) has related instruction in AVX512FP16.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D110312




More information about the All-commits mailing list