[all-commits] [llvm/llvm-project] 4265f1: [CodeGen] Fix warnings in getZeroExtendInReg

david-arm via All-commits all-commits at lists.llvm.org
Fri May 29 03:51:55 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4265f1d23cc9d10b9544bafc7a285ca5f143faea
      https://github.com/llvm/llvm-project/commit/4265f1d23cc9d10b9544bafc7a285ca5f143faea
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2020-05-29 (Fri, 29 May 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

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

We should be using getVectorElementCount() to assert that two types
have the same numbers of elements. I encountered the warnings while
compiling this test:

  CodeGen/AArch64/sve-intrinsics-ld1.ll

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




More information about the All-commits mailing list