[PATCH] D57486: [GlobalISel][AArch64] Select G_FFLOOR

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 30 16:25:53 PST 2019


paquette created this revision.
paquette added a reviewer: aemerson.
Herald added subscribers: Petar.Avramovic, volkan, kristof.beyls, javed.absar, rovka.
paquette added parent revisions: D57485:  [GlobalISel] Add IRTranslator support for G_FFLOOR, D57484: [GlobalISel] Introduce a generic floating point floor opcode, G_FFLOOR.

This teaches the legalizer about G_FFLOOR, and lets us select G_FFLOOR in AArch64.

It updates the existing floating point tests, and adds a select-floor.mir test.


https://reviews.llvm.org/D57486

Files:
  lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  lib/Target/AArch64/AArch64LegalizerInfo.cpp
  lib/Target/AArch64/AArch64RegisterBankInfo.cpp
  test/CodeGen/AArch64/GlobalISel/select-floor.mir
  test/CodeGen/AArch64/arm64-vfloatintrinsics.ll
  test/CodeGen/AArch64/f16-instructions.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57486.184400.patch
Type: text/x-patch
Size: 8416 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190131/f9f50133/attachment.bin>


More information about the llvm-commits mailing list