[all-commits] [llvm/llvm-project] 0eab9d: [SCEV] Verify that all mapped SCEV AddRecs refer t...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Sep 30 04:48:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0eab9d5823815c6520697f8d725c402c88e5d050
      https://github.com/llvm/llvm-project/commit/0eab9d5823815c6520697f8d725c402c88e5d050
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp

  Log Message:
  -----------
  [SCEV] Verify that all mapped SCEV AddRecs refer to valid loops.

This check helps to guard against cases where expressions referring to
invalidated/deleted loops are not properly invalidated.

The additional check is motivated by the reproducer shared for 8fdac7cb7abb
and I think in general make sense as a sanity check.

Reviewed By: reames

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




More information about the All-commits mailing list