[all-commits] [llvm/llvm-project] a8e15e: [CodeGen] Support freeze expand for ppc_fp128

Zhang Kang via All-commits all-commits at lists.llvm.org
Mon Apr 20 00:32:02 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a8e15ee04a7f31640c42a2d01523a156fae4424e
      https://github.com/llvm/llvm-project/commit/a8e15ee04a7f31640c42a2d01523a156fae4424e
  Author: Kang Zhang <shkzhang at cn.ibm.com>
  Date:   2020-04-20 (Mon, 20 Apr 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
    A llvm/test/CodeGen/PowerPC/ppcf128-freeze.mir

  Log Message:
  -----------
  [CodeGen] Support freeze expand for ppc_fp128

Summary:
The patch D29014 has added the new ISD::FREEZE and can deal with the
integer.
The patch D76980 has added SoftenFloatRes_FREEZE for float point.
But we still lack of expand for ppc_fp128, this will cause assertion for
some cases.
This patch is to support freeze expand for ppc_fp128.

Reviewed By: efriedma

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




More information about the All-commits mailing list