[all-commits] [llvm/llvm-project] 080035: [AArch64][SVE] Use INS when moving elements from b...

SpencerAbson via All-commits all-commits at lists.llvm.org
Thu Oct 31 03:36:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0800351da4c76c786ce43efe4edc4210f4690875
      https://github.com/llvm/llvm-project/commit/0800351da4c76c786ce43efe4edc4210f4690875
  Author: SpencerAbson <Spencer.Abson at arm.com>
  Date:   2024-10-31 (Thu, 31 Oct 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
    A llvm/test/CodeGen/AArch64/neon-insert-sve-elt.ll
    M llvm/test/CodeGen/AArch64/sve-extract-fixed-vector.ll
    M llvm/test/CodeGen/AArch64/sve-fixed-length-shuffles.ll

  Log Message:
  -----------
  [AArch64][SVE] Use INS when moving elements from bottom 128b of SVE type (#114034)

Moving elements from a scalable vector to a fixed-lengh vector should
use[ INS (vector, element)
](https://developer.arm.com/documentation/100069/0606/SIMD-Vector-Instructions/INS--vector--element-)
when we know that the extracted element is in the bottom 128-bits of the
scalable vector. This avoids inserting unecessary UMOV/FMOV
instructions.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list