[PATCH] D45743: [Polly] Print executed statement instances at runtime.

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 17 15:57:12 PDT 2018


Meinersbur created this revision.
Meinersbur added reviewers: grosser, jdoerfert, philip.pfaffe.
Meinersbur added a project: Polly.
Herald added a reviewer: bollu.

Add the option -polly-codegen-trace-stmts and -polly-codegen-print scalars. When enabled, adds a print to the beginning of every generated statement that prints the executed statement instance. With -polly-codegen-print scalars, it also prints the value of all scalars that are used in the statement, and PHIs defined in the beginning of the statement.


Repository:
  rPLO Polly

https://reviews.llvm.org/D45743

Files:
  include/polly/CodeGen/BlockGenerators.h
  include/polly/CodeGen/RuntimeDebugBuilder.h
  lib/CodeGen/BlockGenerators.cpp
  lib/CodeGen/RuntimeDebugBuilder.cpp
  test/Isl/CodeGen/RuntimeDebugBuilder/stmt_tracing.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45743.142854.patch
Type: text/x-patch
Size: 11215 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180417/aadd1bc9/attachment.bin>


More information about the llvm-commits mailing list