[all-commits] [llvm/llvm-project] 6d753b: [LAA] Remove RuntimeCheckingPtrGroup::RtCheck memb...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Jul 26 09:40:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d753b0751b1f4b6fb6851b69627244722c57a64
      https://github.com/llvm/llvm-project/commit/6d753b0751b1f4b6fb6851b69627244722c57a64
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-07-26 (Mon, 26 Jul 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/LoopAccessAnalysis.h
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    M llvm/lib/Transforms/Utils/LoopUtils.cpp

  Log Message:
  -----------
  [LAA] Remove RuntimeCheckingPtrGroup::RtCheck member (NFC).

This patch removes RtCheck from RuntimeCheckingPtrGroup to make it
possible to construct RuntimeCheckingPtrGroup objects without a
RuntimePointerChecking object. This should make it easier to
re-use the code to generate runtime checks, e.g. in D102834.

RtCheck was only used to access the pointer info for a given index.
Instead, the start and end expressions can be passed directly.

For code-gen, we also need to know the address space to use. This can
also be explicitly passed at construction.

Reviewed By: efriedma

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




More information about the All-commits mailing list