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

David Green via All-commits all-commits at lists.llvm.org
Tue Jun 15 09:45:41 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b9bd2936f9cf210deb611fe6398f3976caf86b34
      https://github.com/llvm/llvm-project/commit/b9bd2936f9cf210deb611fe6398f3976caf86b34
  Author: David Green <david.green at arm.com>
  Date:   2021-06-15 (Tue, 15 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