[all-commits] [llvm/llvm-project] 9b0189: [IR] Support scalable vectors in ShuffleVectorInst...

Cullen Rhodes via All-commits all-commits at lists.llvm.org
Mon Dec 7 02:47:40 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b0189655500c30c4ccb0fb5f3ce14a2ac9c6682
      https://github.com/llvm/llvm-project/commit/9b0189655500c30c4ccb0fb5f3ce14a2ac9c6682
  Author: Cullen Rhodes <cullen.rhodes at arm.com>
  Date:   2020-12-07 (Mon, 07 Dec 2020)

  Changed paths:
    M llvm/include/llvm/IR/Instructions.h
    M llvm/unittests/IR/InstructionsTest.cpp

  Log Message:
  -----------
  [IR] Support scalable vectors in ShuffleVectorInst::increasesLength

Since the length of the llvm::SmallVector shufflemask is related to the
minimum number of elements in a scalable vector, it is fine to just get
the Min field of the ElementCount. This is already done for the similar
function changesLength, tests have been added for both.

Reviewed By: sdesmalen

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




More information about the All-commits mailing list