[all-commits] [llvm/llvm-project] 495019: [clang][dataflow] Add multi-variable constant prop...

Yitzhak Mandelbaum via All-commits all-commits at lists.llvm.org
Tue Jan 4 06:29:15 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4950198116a5b243b8e7b4267e0397e118a27c43
  Author: Yitzhak Mandelbaum <yitzhakm at google.com>
  Date:   2022-01-04 (Tue, 04 Jan 2022)

  Changed paths:
    M clang/unittests/Analysis/FlowSensitive/CMakeLists.txt
    A clang/unittests/Analysis/FlowSensitive/MultiVarConstantPropagationTest.cpp

  Log Message:
  [clang][dataflow] Add multi-variable constant propagation example.

Adds another constant-propagation analysis that covers all variables in
the scope (vs the existing single-variable demo). But, the analysis is still
unsuited to use, in that ignores issues of escaping variables.

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

More information about the All-commits mailing list