[all-commits] [llvm/llvm-project] e602cd: [CodeGen] Fix warnings in getPackedVectorTypeFromP...

david-arm via All-commits all-commits at lists.llvm.org
Tue Jun 2 23:24:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e602cd878e308133cbbfdb73df686de2aa890bc1
      https://github.com/llvm/llvm-project/commit/e602cd878e308133cbbfdb73df686de2aa890bc1
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2020-06-03 (Wed, 03 Jun 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp

  Log Message:
  -----------
  [CodeGen] Fix warnings in getPackedVectorTypeFromPredicateType

Use getVectorElementCount() instead of getVectorNumElements().
The code changed in this patch is covered by an existing test:

  CodeGen/AArch64/sve-intrinsics-contiguous-prefetches.ll

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




More information about the All-commits mailing list