[all-commits] [llvm/llvm-project] 192cb7: [InstCombine] avoid crashing on select-shuffle det...

RotateRight via All-commits all-commits at lists.llvm.org
Thu Jun 4 14:27:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 192cb718361dbd7be082bc0893f43bbc9782288f
      https://github.com/llvm/llvm-project/commit/192cb718361dbd7be082bc0893f43bbc9782288f
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-06-04 (Thu, 04 Jun 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/select-select.ll

  Log Message:
  -----------
  [InstCombine] avoid crashing on select-shuffle detection

As mentioned in the post-commit comments of D81013 -
the mask check API has to assume the shuffle is
not length-changing, but we have not ruled that out
in this code. Use the ShuffleVectorInst call instead.




More information about the All-commits mailing list