[PATCH] D113908: [PowerPC] Custom lowering of llvm.is_fpclass

Serge Pavlov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 15 09:04:02 PST 2021


sepavloff created this revision.
sepavloff added reviewers: nemanjai, shchenz, qiucf.
Herald added subscribers: steven.zhang, kbarton, hiraditya.
sepavloff requested review of this revision.
Herald added a project: LLVM.

PowerPC supports type `ppc_fp128`, which is not IEEE floating type and
for this type llvm.is_fpclass cannot be lowered with generic code. This
change implements custom lowering for `ppc_fp128`.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D113908

Files:
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/test/CodeGen/PowerPC/ppc-is_fpclass.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113908.387289.patch
Type: text/x-patch
Size: 8556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211115/14a9d9e1/attachment.bin>


More information about the llvm-commits mailing list