[all-commits] [llvm/llvm-project] 9fc58f: [PowerPC] Support of ppc_fp128 in lowering of llvm...

Serge Pavlov via All-commits all-commits at lists.llvm.org
Thu Apr 28 21:12:06 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9fc58f1820e3b0883c9759945bca1aa1f1df8e8d
      https://github.com/llvm/llvm-project/commit/9fc58f1820e3b0883c9759945bca1aa1f1df8e8d
  Author: Serge Pavlov <sepavloff at gmail.com>
  Date:   2022-04-29 (Fri, 29 Apr 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    A llvm/test/CodeGen/PowerPC/is_fpclass.ll

  Log Message:
  -----------
  [PowerPC] Support of ppc_fp128 in lowering of llvm.is_fpclass

PowerPC supports `ppc_fp128`, which is not an IEEE floating point
type. The generic lowering of llvm.is_fpclass could not handle it
properly. This change extends the generic lowering code to
support `ppc_fp128`.

The change was tested on emulator using runtime tests from
https://reviews.llvm.org/D112933 and the patch for clang
https://reviews.llvm.org/D112932.

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




More information about the All-commits mailing list