Files
Hongyi Jin 115029b3ab
CI / Windows (push) Has been cancelled
Lint / lint (push) Has been cancelled
CI / MacOS (push) Has been cancelled
[FIX][TIRx] Constant-fold copy slice extents (#20067)
## Motivation and context

Copy regions can retain constant-valued expressions after variable
substitution. Converting those expressions directly to Python integers
rejects valid slices even though their extents are statically known.

## Changes

- Simplify swizzled-region extents before converting them to Python
integers.
- Continue rejecting genuinely symbolic extents.
- Add a hardware-independent regression to the existing layout test
suite.

## Testing

- `python -m pytest tests/python/tirx/test_layout.py`
- Changed-files pre-commit checks
2026-07-29 14:06:18 -04:00
..