[PATCH] D66929: [MIPS GlobalISel] Lower fptoui

Petar Avramovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 29 01:02:54 PDT 2019


Petar.Avramovic created this revision.
Petar.Avramovic added reviewers: atanasyan, petarj.
Herald added subscribers: llvm-commits, volkan, jrtc27, arichardson, rovka, sdardis.
Herald added a project: LLVM.

Add lower for G_FPTOUI. Algorithm is similar to the SDAG version
in TargetLowering::expandFP_TO_UINT.
Lower G_FPTOUI for MIPS32.


Repository:
  rL LLVM

https://reviews.llvm.org/D66929

Files:
  include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
  lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  lib/Target/Mips/MipsLegalizerInfo.cpp
  test/CodeGen/Mips/GlobalISel/legalizer/fptosi_and_fptoui.mir
  test/CodeGen/Mips/GlobalISel/llvm-ir/fptosi_and_fptoui.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66929.217790.patch
Type: text/x-patch
Size: 23404 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190829/799cef26/attachment.bin>


More information about the llvm-commits mailing list