[all-commits] [llvm/llvm-project] 36fcf4: [AArch64] Generate SMOV in place of sext(fmov(...))

NickGuy-Arm via All-commits all-commits at lists.llvm.org
Wed Aug 25 07:24:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 36fcf47fc80dfdd50243f1d5a8871282aa5c4ffa
      https://github.com/llvm/llvm-project/commit/36fcf47fc80dfdd50243f1d5a8871282aa5c4ffa
  Author: Nicholas Guy <nicholas.guy at arm.com>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
    A llvm/test/CodeGen/AArch64/aarch64-smov-gen.ll

  Log Message:
  -----------
  [AArch64] Generate SMOV in place of sext(fmov(...))

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.

Differential Revision: https://reviews.llvm.org/D108633




More information about the All-commits mailing list