[PATCH] D33653: [Polly] Iterate over explicit instruction list in CodeGen for block statements. NFC

Nandini Singhal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 15 18:19:35 PDT 2017


nandini12396 added a comment.

`ScopStmt::getInstructions()` is simply a public accessor member function which returns the explicit list of `ScopStmt::Instructions`. This patch is a step towards "Finer Statement Granularity". 
Since we will no longer have a 1-to-1 mapping from statements to basic block, i.e. a statement does not comprise of all the instructions of a BB; instead of iterating over all instructions of the BB, we now traverse over only the explicit list of instructions contained in a SCoP statement. Hope this is helpful.


Repository:
  rL LLVM

https://reviews.llvm.org/D33653





More information about the llvm-commits mailing list