[all-commits] [llvm/llvm-project] 060970: [SVE] Remove getNumElements() calls in visitGetEle...

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


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

  Changed paths:
    M llvm/lib/IR/Verifier.cpp

  Log Message:
  -----------
  [SVE] Remove getNumElements() calls in visitGetElementPtrInst

Replace calls to getNumElements() with getElementCount() in order
to avoid warnings for scalable vectors. The warnings were discovered
by this existing test:

  test/CodeGen/AArch64/sve-gep.ll

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




More information about the All-commits mailing list