summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit/tests/xunit-output.py
diff options
context:
space:
mode:
authorAndreas Simbuerger <simbuerg@fim.uni-passau.de>2017-08-18 15:01:18 +0000
committerAndreas Simbuerger <simbuerg@fim.uni-passau.de>2017-08-18 15:01:18 +0000
commit8d5b257d02451437d5898b6ae35404c5ebe2e07c (patch)
tree1b4688237d61d94dca17ca9191dcde06367fdeab /llvm/utils/lit/tests/xunit-output.py
parentccaec2617577c59357c828d00068a3ee82ca2ab6 (diff)
downloadbcm5719-llvm-8d5b257d02451437d5898b6ae35404c5ebe2e07c.tar.gz
bcm5719-llvm-8d5b257d02451437d5898b6ae35404c5ebe2e07c.zip
[Polly][Bug fix] Wrong dependences filtering during Fully Indexed expansion
Summary: When trying to expand memory accesses, the current version of Polly uses statement Level dependences. The actual implementation is not working in case of multiple dependences per statement. For example in the following source code : ``` void mse(double A[Ni], double B[Nj], double C[Nj], double D[Nj]) { int i,j; for (j = 0; j < Ni; j++) { for (int i = 0; i<Nj; i++) S: B[i] = i; for (int i = 0; i<Nj; i++) T: D[i] = i; U: A[j] = B[j]; C[j] = D[j]; } } ``` The statement U has two dependences with S and T. The current version of polly fails during expansion. This patch aims to fix this bug. For that, we use Reference Level dependences to be able to filter dependences according to statement and memory ref. The principle of expansion remains the same as before. We also noticed that we need to bail out if load come after store (at the same position) in same statement. So a check was added to isExpandable. Contributed by: Nicholas Bonfante <nicolas.bonfante@insa-lyon.fr> Reviewers: Meinersbur, simbuerg, bollu Reviewed By: Meinersbur, simbuerg Subscribers: pollydev, llvm-commits Differential Revision: https://reviews.llvm.org/D36791 llvm-svn: 311165
Diffstat (limited to 'llvm/utils/lit/tests/xunit-output.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud