HomePhabricator

Revert "[LoopDeletion] Allows deletion of possibly infinite side-effect free…

Authored by atmnpatel on Nov 6 2020, 9:31 PM.

Description

Revert "[LoopDeletion] Allows deletion of possibly infinite side-effect free loops"

This reverts commit 0b17c6e4479d62bd4ff05c48d6cdf340b198832f. This patch
causes a compile-time error in SCEV.

Event Timeline

MaskRay added a subscriber: MaskRay.Nov 6 2020, 9:56 PM

The revert caused a new failure to clang/test/Misc/loop-opt-setup.c. Please run tests before reverts.

I naively assumed that reverting it would be fine, I'm working on a fixing right now.

I'm so sorry, I saw that you fixed it, thank you.