LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 26320 - [Polly] Make reduction dependency computation work on schedule trees
Summary: [Polly] Make reduction dependency computation work on schedule trees
Status: NEW
Alias: None
Product: Polly
Classification: Unclassified
Component: Optimizer (show other bugs)
Version: unspecified
Hardware: PC Linux
: P normal
Assignee: Polly Development Mailinglist
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-26 12:08 PST by Tobias Grosser
Modified: 2016-01-26 12:08 PST (History)
1 user (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Grosser 2016-01-26 12:08:52 PST
When introducing reductions into Polly we thought it would be a good idea to model reduction dependences using a "convex_hull" computation. However, this is both computationally a lot more complex than expected and also conflicts made it hard to compute reduction dependences on schedule trees. Fortunately, Sven Verdoolaege suggested (at least parts) of what looks like a good solution. Instead of first computing precise dependences and _then_ reintroducing reduction dependences, we could just model reduction statements as may-writes which will make the dependence analysis automatically introduce the additional dependences needed when removing the inter-reduction-operation dependences.

This blocks http://reviews.llvm.org/D5190

This is just a brief reminder. Please ping back in case you need more information.