[all-commits] [llvm/llvm-project] d39f4a: [SCEV] Unwind SCEVUnionPredicate from getPredicate...

Philip Reames via All-commits all-commits at lists.llvm.org
Wed Feb 9 12:56:03 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d39f4ac49428333988837ac51983aa1d757cbf5a
      https://github.com/llvm/llvm-project/commit/d39f4ac49428333988837ac51983aa1d757cbf5a
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2022-02-09 (Wed, 09 Feb 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/ScalarEvolution.h
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp

  Log Message:
  -----------
  [SCEV] Unwind SCEVUnionPredicate from getPredicatedBackedgeTakenCount [NFC]

For those curious, the whole reason for tracking the predicate set seperately as opposed to just immediately registering the dependencies appears to be allowing the printing code to print a result without changing the PSE state.  It's slightly questionable if this justifies the complexity, but since we can preserve it with local ugliness, I did so.




More information about the All-commits mailing list