[PATCH] D43293: [SimplifyCFG] Don't remove preheaders when we need canonical loops.

Michael Haidl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 15 22:27:43 PST 2018


pacxx added a comment.

Maybe we should introduce some annotation to loops that are in simple form. Passes like SimplifyCFG may honor this annotation and don't remove empty preheaders. Removing and recreating empty preheaders seems wrong.


https://reviews.llvm.org/D43293





More information about the llvm-commits mailing list