[all-commits] [llvm/llvm-project] 205085: [CodeGen] Fix warnings in LowerToPredicatedOp

david-arm via All-commits all-commits at lists.llvm.org
Fri May 29 07:19:31 PDT 2020


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

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

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

When creating a new vector type based on another vector type we
should pass in the element count instead of the number of elements
and scalable flag separately.

I encountered this warning whilst compiling this test:

  CodeGen/AArch64/sve-intrinsics-int-compares.ll

Differential revision: https://reviews.llvm.org/D80621




More information about the All-commits mailing list