[all-commits] [llvm/llvm-project] ae22e8: [CodeGen] Fix warnings in isPow2VectorType and get...

david-arm via All-commits all-commits at lists.llvm.org
Thu Jun 18 01:17:44 PDT 2020


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

  Changed paths:
    M llvm/include/llvm/CodeGen/ValueTypes.h

  Log Message:
  -----------
  [CodeGen] Fix warnings in isPow2VectorType and getPow2VectorType

We should either call getVectorMinNumElements() or
getVectorElementCount().

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




More information about the All-commits mailing list