[PATCH] D92083: Legalize the SETCC/STRICT_FSETCCS as libcall

Qing Shan Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 25 02:30:19 PST 2020


steven.zhang created this revision.
steven.zhang added reviewers: craig.topper, RKSimon, t.p.northover, nemanjai, qiucf, PowerPC, jsji.
Herald added subscribers: kbarton, hiraditya.
Herald added a project: LLVM.
steven.zhang requested review of this revision.

We miss to expand the SETCC/STRICT_FSETCC/STRICT_FSETCCS as libcall. PowerPC need it to handle the fp128 on Power8. This patch also add necessary operation for PowerPC to handle the SELECT/SELECT_CC/BR_CC correctly.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92083

Files:
  llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.h
  llvm/test/CodeGen/PowerPC/f128-compare.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92083.307548.patch
Type: text/x-patch
Size: 30451 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201125/e51716fa/attachment.bin>


More information about the llvm-commits mailing list