[PATCH] D57361: [GlobalISel][AArch64] Add instruction selection support for @llvm.sqrt

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 28 14:42:22 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: D57360: [GlobalISel] Add IRTranslator support for @llvm.sqrt -> G_FSQRT, D57359: [GlobalISel] Introduce a G_FSQRT generic instruction.

This teaches the legalizer about G_FSQRT in AArch64. Also adds a legalizer test for G_FSQRT, a selection test for it, and updates existing floating point tests.


https://reviews.llvm.org/D57361

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57361.183964.patch
Type: text/x-patch
Size: 12330 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190128/a9da2408/attachment-0001.bin>


More information about the llvm-commits mailing list