[all-commits] [llvm/llvm-project] 7f6a48: [CaptureTracking] Allow passing LI to PointerMayBe...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Sep 20 01:18:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f6a4826ac49e4c7075f80930480045bf983483c
      https://github.com/llvm/llvm-project/commit/7f6a4826ac49e4c7075f80930480045bf983483c
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-09-20 (Mon, 20 Sep 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/CaptureTracking.h
    M llvm/lib/Analysis/CaptureTracking.cpp

  Log Message:
  -----------
  [CaptureTracking] Allow passing LI to PointerMayBeCapturedBefore (NFC).

isPotentiallyReachable can use LoopInfo to return earlier. This patch
allows passing an optional LI to PointerMayBeCapturedBefore. Used in
D109844.

Reviewed By: nikic, asbirlea

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




More information about the All-commits mailing list