[PATCH] D115179: [NFC] Clarify comment about LoopDeletionPass in the optimization pipeline

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 7 09:57:56 PST 2021


aeubanks added a comment.

In D115179#3174484 <https://reviews.llvm.org/D115179#3174484>, @lebedev.ri wrote:

> FTR i will be rather surprised if that alone would fully alleviate the need for this late loopdelete.

Changing the `EarlyCSEPass` in `PassBuilder::buildFunctionSimplificationPipeline()` to `GVNPass` does make `llvm/test/Transforms/PhaseOrdering/deletion-of-loops-that-became-side-effect-free.ll` pass if we delete the -O1 RUN line


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115179/new/

https://reviews.llvm.org/D115179



More information about the llvm-commits mailing list