[RuntimeDebugBuilder] Print vectors passed without withspaces
authorTobias Grosser <tobias@grosser.es>
Wed, 18 Apr 2018 20:28:26 +0000 (20:28 +0000)
committerTobias Grosser <tobias@grosser.es>
Wed, 18 Apr 2018 20:28:26 +0000 (20:28 +0000)
commitf4a3ff008d58fca4031f03644d96a634cd9815ba
tree56c5e3fbfd54515c5003d5be0aa436f9e47953f3
parent792547b348486deab172b0f95448add2dd5a933f
[RuntimeDebugBuilder] Print vectors passed without withspaces

Originally the RuntimeDebugBuilder printed vectors with withspaces
between the elements. This historic use is meanwhile gone, but the
functionality is still available.

We now change the behavior to print elements just one after the other
without adding white spaces in between. This is useful for D45743, an
upcoming commmit, which also adds test coverage for this feature.

In general, printing elements of a vector directly is more generic as
it allows uses where no white-spaces are desired. Specifically, it
allows the user to build vectors of items to be printed where their
length is only known at run-time.

llvm-svn: 330292
polly/include/polly/CodeGen/RuntimeDebugBuilder.h