[test] Add reduction sequence test case [NFC]
commitbebff2fa4ae9aa494e7df189ef350a394cc4bc1b
authorTobias Grosser <tobias@grosser.es>
Sat, 18 Feb 2017 16:38:58 +0000 (18 16:38 +0000)
committerTobias Grosser <tobias@grosser.es>
Sat, 18 Feb 2017 16:38:58 +0000 (18 16:38 +0000)
treec99a332f08bd5227dcf8706ff0bf0b035d9cadde
parent9507cfc4213781a08069be0bb1e7f6f430edba17
[test] Add reduction sequence test case [NFC]

This test case is a mini performance test case that shows the time needed for a
couple of simple reductions. It takes today about 325ms on my machine to run
this test case through 'opt' with scop construction and reduction detection. It
can be used as mini-proxy for further tuning of the reduction code.

Generally we do not commit performance test cases, but as this is very
small and also very fast it seems OK to keep it in the lit test suite.

This test case will also help to verify that future changes to the reduction
code will not affect the ordering of the reduction sets and will consequently
not cause spurious performance changes that only result from reordering of
dependences in the reduction set.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@295549 91177308-0d34-0410-b5e6-96231b3b80d8
test/DependenceInfo/reduction_sequence.ll [new file with mode: 0644]