[all-commits] [llvm/llvm-project] 342dca: [clang][dataflow] Check for backedges directly (in...

Yitzhak Mandelbaum via All-commits all-commits at lists.llvm.org
Mon Oct 16 11:07:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 342dca7528116439f3e9c8492a452765d802681a
      https://github.com/llvm/llvm-project/commit/342dca7528116439f3e9c8492a452765d802681a
  Author: Yitzhak Mandelbaum <ymand at users.noreply.github.com>
  Date:   2023-10-16 (Mon, 16 Oct 2023)

  Changed paths:
    M clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp
    M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
    M clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp

  Log Message:
  -----------
  [clang][dataflow] Check for backedges directly (instead of loop statements). (#68923)

Widen on backedge nodes, instead of nodes with a loop statement as
terminator.
This fixes #67834 and a precision loss from assignment in a loop
condition. The
commit contains tests for both of these issues.




More information about the All-commits mailing list