Allow ternaries in array shape expressions
Open
- Dominant language
- Python
- Stars
- 636
- Forks
- 81
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 7
Description
[This comment](https://github.com/inducer/loopy/issues/229#issuecomment-781443305) shows an example where a, let's say, "odd" array shape results because Loopy picks an overapproximation when determining the shape expression from the access footprint. If we allowed conditionals to exactly round-trip `PwAff`s in shape expresions (or maybe just allow those to directly *be* shape expressions), we wouldn't need to overapproximate.
cc @kaushikcfd
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.