Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | TupleOptimization: Handle copies of different types in unreachable code (#5956) | Alon Zakai | 2023-09-18 | 1 | -4/+12 |
| | |||||
* | Add a simple tuple optimization pass (#5937) | Alon Zakai | 2023-09-14 | 1 | -0/+359 |
In some cases tuples are obviously not needed, such as when they are only used in local operations and make/extract. Such tuples are not used as return values or in control flow structures, so we might as well lower them to individual locals per lane, which other passes can optimize a lot better. I believe LLVM does the same with its own tuples: it lowers them as much as possible, leaving only necessary ones. Fixes #5923 |