[PATCH] D84324: AMDGPU/GlobalISel: Lower G_FREM

Petar Avramovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 22 08:57:57 PDT 2020


Petar.Avramovic updated this revision to Diff 279840.
Petar.Avramovic added a comment.

Preserve flags, and use G_INTRINSIC_TRUNC.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84324/new/

https://reviews.llvm.org/D84324

Files:
  llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
  llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-frem.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84324.279840.patch
Type: text/x-patch
Size: 37527 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200722/61465702/attachment.bin>


More information about the llvm-commits mailing list