[all-commits] [llvm/llvm-project] e83e28: [SCEVExpander] Forget SCEV when replacing congruen...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Nov 1 10:50:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e83e289fd1aabac9253a04fc8ae6051759ccb20e
      https://github.com/llvm/llvm-project/commit/e83e289fd1aabac9253a04fc8ae6051759ccb20e
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  Changed paths:
    M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
    A llvm/test/Transforms/IndVarSimplify/pr58702-invalidate-scev-when-replacing-congruent-phis.ll

  Log Message:
  -----------
  [SCEVExpander] Forget SCEV when replacing congruent phi.

Otherwise there may be stale values left over in the cache, causing a
SCEV verification failure.

Fixes #58702.




More information about the All-commits mailing list