[all-commits] [llvm/llvm-project] 49143f: [IndVars] Forget the SCEV when the instruction has...

luxufan via All-commits all-commits at lists.llvm.org
Sun Nov 6 07:41:24 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 49143f9d1471e3f01a6d32001676b29274298e22
      https://github.com/llvm/llvm-project/commit/49143f9d1471e3f01a6d32001676b29274298e22
  Author: luxufan <luxufan at iscas.ac.cn>
  Date:   2022-11-06 (Sun, 06 Nov 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
    M llvm/test/Transforms/IndVarSimplify/scev-invalidation.ll

  Log Message:
  -----------
  [IndVars] Forget the SCEV when the instruction has been sunk.

In the past, the SCEV expression of the sunk instruction was not
forgetted. This led to the incorrect block dispositions after the
instruction be sunk.

Fixes https://github.com/llvm/llvm-project/issues/58662

Reviewed By: fhahn

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




More information about the All-commits mailing list