[all-commits] [llvm/llvm-project] 7e30ef: [CodeGen] Fix warnings in getVectorTypeBreakdown

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


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

  Changed paths:
    M llvm/include/llvm/Support/TypeSize.h
    M llvm/lib/CodeGen/TargetLoweringBase.cpp

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

Added NextPowerOf2() routine to TypeSize and rewritten the code
in getVectorTypeBreakdown to avoid warnings being generated.

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




More information about the All-commits mailing list