[all-commits] [llvm/llvm-project] 1113e0: [ARM] Extend narrow values to allow using truncati...

David Green via All-commits all-commits at lists.llvm.org
Thu Jun 24 05:09:40 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1113e06821e6baffc84b8caf96a28bf62e6d28dc
      https://github.com/llvm/llvm-project/commit/1113e06821e6baffc84b8caf96a28bf62e6d28dc
  Author: David Green <david.green at arm.com>
  Date:   2021-06-24 (Thu, 24 Jun 2021)

  Changed paths:
    M llvm/lib/Target/ARM/MVEGatherScatterLowering.cpp
    M llvm/test/CodeGen/Thumb2/mve-scatter-ind32-unscaled.ll
    M llvm/test/CodeGen/Thumb2/mve-scatter-ind8-unscaled.ll
    M llvm/test/CodeGen/Thumb2/mve-scatter-ptrs.ll

  Log Message:
  -----------
  [ARM] Extend narrow values to allow using truncating scatters

As a minor adjustment to the existing lowering of offset scatters, this
extends any smaller-than-legal vectors into full vectors using a zext,
so that the truncating scatters can be used. Due to the way MVE
legalizes the vectors this should be cheap in most situations, and will
prevent the vector from being scalarized.

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




More information about the All-commits mailing list