[all-commits] [llvm/llvm-project] 98eb91: [LoopFlatten] Forget all block and loop dispositio...
luxufan via All-commits
all-commits at lists.llvm.org
Sun Nov 13 18:19:48 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 98eb9179398d1e69e1f4416b1ef3bf308171684b
https://github.com/llvm/llvm-project/commit/98eb9179398d1e69e1f4416b1ef3bf308171684b
Author: luxufan <luxufan at iscas.ac.cn>
Date: 2022-11-14 (Mon, 14 Nov 2022)
Changed paths:
M llvm/lib/Transforms/Scalar/LoopFlatten.cpp
A llvm/test/Transforms/LoopFlatten/pr58865.ll
Log Message:
-----------
[LoopFlatten] Forget all block and loop dispositions after flatten
Method forgetLoop only forgets expression of phi or its users. SCEV
expressions except the above mentioned may still has loop dispositions
that point to the destroyed loop, which might cause a crash.
Fixes: https://github.com/llvm/llvm-project/issues/58865
Reviewed By: nikic, fhahn
Differential Revision: https://reviews.llvm.org/D137651
More information about the All-commits
mailing list