[PATCH] D120782: [polly] Introduce -polly-print-* passes to replace -analyze.

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 15 21:20:57 PDT 2022


Meinersbur added a comment.

In D120782#3369286 <https://reviews.llvm.org/D120782#3369286>, @aeubanks wrote:

> based on local testing even something like `opt %loadPolly -basic-aa -polly-codegen < %s | opt -enable-new-pm=0 -loops -analyze` fails the same way. even `opt %loadPolly -basic-aa -polly-codegen -barrier -loops -analyze` does the same thing

LoopInfo just prints the blocks it contains as they appear in the `LoopBase::Blocks` vector. The order is different between the depth-first order when LoopInfo is constructed from scratch, versus when preserved by adding/removing elements from the list. `LoopBase::verifyLoop` allows `Blocks` to be in a different order.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120782



More information about the llvm-commits mailing list