[all-commits] [llvm/llvm-project] 268f19: [ARM] Additional VIDUP tests. NFC

David Green via All-commits all-commits at lists.llvm.org
Tue Apr 27 11:33:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 268f1963af335b65c9c3f99621eccfe106454e8e
      https://github.com/llvm/llvm-project/commit/268f1963af335b65c9c3f99621eccfe106454e8e
  Author: David Green <david.green at arm.com>
  Date:   2021-04-27 (Tue, 27 Apr 2021)

  Changed paths:
    A llvm/test/CodeGen/Thumb2/mve-vidup.ll

  Log Message:
  -----------
  [ARM] Additional VIDUP tests. NFC


  Commit: 8de7d8b2c289acfb866248b798bea9a755b198d7
      https://github.com/llvm/llvm-project/commit/8de7d8b2c289acfb866248b798bea9a755b198d7
  Author: David Green <david.green at arm.com>
  Date:   2021-04-27 (Tue, 27 Apr 2021)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.h
    M llvm/lib/Target/ARM/ARMInstrInfo.td
    M llvm/lib/Target/ARM/ARMInstrMVE.td
    M llvm/test/CodeGen/Thumb2/mve-tailpred-loopinvariant.ll
    M llvm/test/CodeGen/Thumb2/mve-vidup.ll

  Log Message:
  -----------
  [ARM] Recognize VIDUP from BUILDVECTORs of additions

This adds a pattern to recognize VIDUP from BUILD_VECTOR of incrementing
adds. This can come up from either geps or adds, and came up recently in
D100550. We are just looking for a BUILD_VECTOR where each lane is an
add of the first lane with N*i, where i is the lane and N is one of 1,
2, 4, or 8, supported by the VIDUP instruction.

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


Compare: https://github.com/llvm/llvm-project/compare/f19e8f424f1f...8de7d8b2c289


More information about the All-commits mailing list