[LoopUnrollAndJam] Forget scalar evolution dispositions. Do no explicitly forget...
authorJoshua Cao <cao.joshua@yahoo.com>
Wed, 4 Jan 2023 06:37:36 +0000 (22:37 -0800)
committerJoshua Cao <cao.joshua@yahoo.com>
Thu, 5 Jan 2023 03:35:50 +0000 (19:35 -0800)
commit50be2859443a7dea7c160cfb1e145832327b9ed8
tree61bd2f03ee1400beab65c36be301601c78c5c531
parent20a1dcf57295f608b1c8401b2407093df83cbee3
[LoopUnrollAndJam] Forget scalar evolution dispositions. Do no explicitly forget subloop.

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

Scalar evolution dispositions need to be forgotten to pass verification.

We do not need to forget the subloop since it is automatically forgotten
when forgetting the parent loop.

Differential Revision: https://reviews.llvm.org/D140953
llvm/lib/Transforms/Utils/LoopUnrollAndJam.cpp
llvm/test/Transforms/LoopUnrollAndJam/se-forget.ll [new file with mode: 0644]