[all-commits] [llvm/llvm-project] 1b8111: [DAGCombiner][SVE] Fix invalid use of getVectorNum...

huihzhang via All-commits all-commits at lists.llvm.org
Fri Feb 5 09:57:16 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b81117f88e44bccdf0506f3b6b77ef58f6ce5f0
      https://github.com/llvm/llvm-project/commit/1b81117f88e44bccdf0506f3b6b77ef58f6ce5f0
  Author: Huihui Zhang <huihuiz at quicinc.com>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    A llvm/test/CodeGen/AArch64/DAGCombine_vscale.ll

  Log Message:
  -----------
  [DAGCombiner][SVE] Fix invalid use of getVectorNumElements() in visitSRA.

Make sure scalable property is preserved by using getVectorElementCount().

Reviewed By: paulwalker-arm

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




More information about the All-commits mailing list