[all-commits] [llvm/llvm-project] 394974: [ARM][MVE] Restrict allowed types of gather/scatte...

aWelker via All-commits all-commits at lists.llvm.org
Mon Mar 2 02:08:11 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 394974111b1781a2f93e502082cecad1b3aff6ee
      https://github.com/llvm/llvm-project/commit/394974111b1781a2f93e502082cecad1b3aff6ee
  Author: Anna Welker <anna.welker at arm.com>
  Date:   2020-03-02 (Mon, 02 Mar 2020)

  Changed paths:
    M llvm/lib/Target/ARM/MVEGatherScatterLowering.cpp
    M llvm/test/CodeGen/Thumb2/mve-gather-ind16-unscaled.ll

  Log Message:
  -----------
  [ARM][MVE] Restrict allowed types of gather/scatter offsets

The MVE gather instructions smaller than 32bits zext extend the values
in the offset register, as opposed to sign extending them. We need to
make sure that the code that we select from is suitably extended, which
this patch attempts to fix by tightening up the offset checks.

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




More information about the All-commits mailing list