Skip to content
Unverified Commit bc343908 authored by Kaushik Kulkarni's avatar Kaushik Kulkarni Committed by GitHub
Browse files

privatization for loops with non-zero base index (#429)



* privatization for loops with non-zero base index

Privatization was supported only for loops that had zero as their lower
bound. This commit fixes that by subtracting an offset of the iname's
lower bound expression. An option could have been to consider the new
shape of the temporary to be a function of iname's upper bound rather
than purely size, but that might need to unnecessary
register/stack-space usage.

* test privatization with non-zero lbound

Co-authored-by: default avatarAndreas Klöckner <inform@tiker.net>
parent 25d11bab
Loading
Loading
Loading
Pipeline #177961 passed with stages
in 23 minutes and 39 seconds