[all-commits] [llvm/llvm-project] f84879: [ARM] Delay creation of MVE Imm shifts to legaliza...

David Green via All-commits all-commits at lists.llvm.org
Wed May 4 14:12:27 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f848798b7d3f59cf1f4de4187618eaad10b0ae86
      https://github.com/llvm/llvm-project/commit/f848798b7d3f59cf1f4de4187618eaad10b0ae86
  Author: David Green <david.green at arm.com>
  Date:   2022-05-04 (Wed, 04 May 2022)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/test/CodeGen/Thumb2/mve-laneinterleaving.ll

  Log Message:
  -----------
  [ARM] Delay creation of MVE Imm shifts to legalization

The reasoning for creating VSHLIMM/VSHRsIMM/VSHRuIMM nodes in a combine
- because matching i64 constants is difficult -  does not apply for MVE,
as there are not v2i64 shifts. Delaying the creation of the nodes can
allow extra transforms on target independant shl/shr.




More information about the All-commits mailing list