[all-commits] [llvm/llvm-project] 06654a: [SVE] Fix TypeSize warning in RuntimePointerChecki...

Joe Ellis via All-commits all-commits at lists.llvm.org
Wed Nov 25 08:59:32 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 06654a5348bfc510208514a30c552f4f2c4c0ee7
      https://github.com/llvm/llvm-project/commit/06654a5348bfc510208514a30c552f4f2c4c0ee7
  Author: Joe Ellis <joe.ellis at arm.com>
  Date:   2020-11-25 (Wed, 25 Nov 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/ScalarEvolution.h
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    M llvm/lib/Analysis/ScalarEvolution.cpp
    A llvm/test/Analysis/LoopAccessAnalysis/memcheck-store-vs-alloc-size.ll
    A llvm/test/Analysis/LoopAccessAnalysis/runtime-pointer-checking-insert-typesize.ll

  Log Message:
  -----------
  [SVE] Fix TypeSize warning in RuntimePointerChecking::insert

The TypeSize warning would occur because RuntimePointerChecking::insert
was not scalable vector aware. The fix is to use
ScalarEvolution::getSizeOfExpr to grab the size of types.

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




More information about the All-commits mailing list