Revision fffb8bd568e5e1053437471806a1528e7c569081 authored by Andrew Adams on 24 October 2023, 17:23:49 UTC, committed by GitHub on 24 October 2023, 17:23:49 UTC
Explicitly mark which loops get loop-carry-dependencies inserted by sliding window to assist storage folding. Storage folding needs to know about this so it doesn't try to fold in a way that invalidates these read-after-write dependencies. It currently tries to prove the absence of hazards with box_contains(box_provided, box_required), but this is sometimes incorrect because box_provided could be conservatively large, and the code it analyses might not actually provide (store to) all the required (loaded from) values. It's simpler for sliding window to just tell storage folding when it inserts loop-carry-dependencies, and this is most simply done directly in the IR itself. Fixes #7909
1 parent d023065
File | Mode | Size |
---|---|---|
CMakeLists.txt | -rw-r--r-- | 290 bytes |
Halide-VS2017.natvis | -rw-r--r-- | 2.2 KB |
Halide.natvis | -rw-r--r-- | 1.4 KB |
HalideTraceDump.cpp | -rw-r--r-- | 11.5 KB |
HalideTraceUtils.cpp | -rw-r--r-- | 1.4 KB |
HalideTraceUtils.h | -rw-r--r-- | 2.7 KB |
HalideTraceViz.cpp | -rw-r--r-- | 55.9 KB |
inconsolata.h | -rw-r--r-- | 228.4 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...