[all-commits] [llvm/llvm-project] e0b966: [ARM][MVE] Sink vector shift operand

Sam Parker via All-commits all-commits at lists.llvm.org
Wed Dec 11 23:35:44 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e0b966643fc2030442ffbae9b677247be697673b
      https://github.com/llvm/llvm-project/commit/e0b966643fc2030442ffbae9b677247be697673b
  Author: Sam Parker <grubbymitts69 at gmail.com>
  Date:   2019-12-12 (Thu, 12 Dec 2019)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/ARM/ARMInstrMVE.td
    A llvm/test/CodeGen/Thumb2/mve-shifts-scalar.ll
    M llvm/test/CodeGen/Thumb2/mve-shifts.ll

  Log Message:
  -----------
  [ARM][MVE] Sink vector shift operand

The shift amount operand can be provided in a general purpose
register so sink it. Flip the vdup and negate so the existing
patterns can be used for matching.

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




More information about the All-commits mailing list