[PATCH] D108633: [AArch64] Generate smov in place of sext(fmov(...))

Nicholas Guy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 24 07:47:51 PDT 2021


NickGuy created this revision.
NickGuy added reviewers: dmgreen, SjoerdMeijer, samtebbs, paulwalker-arm.
NickGuy added a project: LLVM.
Herald added subscribers: hiraditya, kristof.beyls.
NickGuy requested review of this revision.

A single smov instruction is capable of moving from a vector register while performing the sign-extend during said move, rather than each step being performed by separate instructions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108633

Files:
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/test/CodeGen/AArch64/aarch64-smov-gen.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108633.368344.patch
Type: text/x-patch
Size: 5037 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210824/4c8f30ee/attachment.bin>


More information about the llvm-commits mailing list