[all-commits] [llvm/llvm-project] fcd676: [StackSafety] Add "Must Live" logic

Vitaly Buka via All-commits all-commits at lists.llvm.org
Thu Jun 18 16:53:58 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fcd67665a8de61223313e1e1582faf17d9ee76b8
      https://github.com/llvm/llvm-project/commit/fcd67665a8de61223313e1e1582faf17d9ee76b8
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2020-06-18 (Thu, 18 Jun 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/StackLifetime.h
    M llvm/lib/Analysis/StackLifetime.cpp
    M llvm/lib/CodeGen/SafeStack.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/test/Analysis/StackSafetyAnalysis/lifetime.ll

  Log Message:
  -----------
  [StackSafety] Add "Must Live" logic

Summary:
Extend StackLifetime with option to calculate liveliness
where alloca is only considered alive on basic block entry
if all non-dead predecessors had it alive at terminators.

Depends on D82043.

Reviewers: eugenis

Reviewed By: eugenis

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list