[all-commits] [llvm/llvm-project] 26ebe9: [InstCombine] fix use of base VectorType; NFC

RotateRight via All-commits all-commits at lists.llvm.org
Mon Jun 1 11:28:50 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 26ebe936f3ba63a2365f660509026e11fa0d695a
      https://github.com/llvm/llvm-project/commit/26ebe936f3ba63a2365f660509026e11fa0d695a
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-06-01 (Mon, 01 Jun 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp

  Log Message:
  -----------
  [InstCombine] fix use of base VectorType; NFC

SimplifyDemandedVectorElts() bails out on ScalableVectorType
anyway, but we can exit faster with the external check.

Move this to a helper function because there are likely other
vector folds that we can try here.




More information about the All-commits mailing list