[all-commits] [llvm/llvm-project] fd2367: [IndVars] Forget SCEV for value after simplifying ...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Fri Oct 21 03:18:26 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fd236772f5665ce9e55f85ac992be6c22a918d3e
https://github.com/llvm/llvm-project/commit/fd236772f5665ce9e55f85ac992be6c22a918d3e
Author: Florian Hahn <flo at fhahn.com>
Date: 2022-10-21 (Fri, 21 Oct 2022)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
M llvm/test/Transforms/IndVarSimplify/invalidate-modified-lcssa-phi.ll
Log Message:
-----------
[IndVars] Forget SCEV for value after simplifying condition.
Additional SCEV verification highlighted a case where the cached loop
dispositions where incorrect after simplifying a condition in IndVars
and moving the user in LoopDeletion. Fix it by invalidating ICmp and all
its users.
Fixes #58515.
More information about the All-commits
mailing list