[all-commits] [llvm/llvm-project] 7b1cb4: [IR] Bail out for scalable vectors in ShuffleVecto...

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


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

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

  Log Message:
  -----------
  [IR] Bail out for scalable vectors in ShuffleVectorInst::isConcat

Shuffle mask for concat can't be expressed for scalable vectors, so we
should bail out. A test has been added that previously crashed, also
tested isIdentityWithPadding and isIdentityWithExtract where we already
bail out.

Reviewed By: sdesmalen

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




More information about the All-commits mailing list