[all-commits] [llvm/llvm-project] 512600: [PowerPC] Handle f16 as a storage type only

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Sat Apr 11 05:35:32 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 512600e3c0db5e78aa5d23cc9efdec86814ca66d
      https://github.com/llvm/llvm-project/commit/512600e3c0db5e78aa5d23cc9efdec86814ca66d
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2020-04-11 (Sat, 11 Apr 2020)

  Changed paths:
    M llvm/include/llvm/Target/TargetSelectionDAG.td
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCInstrVSX.td
    A llvm/test/CodeGen/PowerPC/handle-f16-storage-type.ll

  Log Message:
  -----------
  [PowerPC] Handle f16 as a storage type only

The PPC back end currently crashes (fails to select) with f16 input. This patch
expands it on subtargets prior to ISA 3.0 (Power9) and uses the HW conversions
on Power9.

Fixes https://bugs.llvm.org/show_bug.cgi?id=39865

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




More information about the All-commits mailing list