[all-commits] [llvm/llvm-project] 275372: [ARM] Mark MVE_VMOV_to_lane_32 as isInsertSubregLike

David Green via All-commits all-commits at lists.llvm.org
Tue Feb 2 08:36:17 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2753722b0fc1fe34c382277e2e6c7195dd573100
      https://github.com/llvm/llvm-project/commit/2753722b0fc1fe34c382277e2e6c7195dd573100
  Author: David Green <david.green at arm.com>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
    M llvm/lib/Target/ARM/ARMInstrMVE.td
    M llvm/test/CodeGen/Thumb2/mve-vecreduce-add.ll
    M llvm/test/CodeGen/Thumb2/mve-vecreduce-mla.ll
    M llvm/test/CodeGen/Thumb2/mve-vst3.ll

  Log Message:
  -----------
  [ARM] Mark MVE_VMOV_to_lane_32 as isInsertSubregLike

This allows the peephole optimizer to know that a MVE_VMOV_to_lane_32 is
the same as an insert subreg, allowing it to optimize some redundant
lane moves.

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




More information about the All-commits mailing list