"...git@developer.sourcefind.cn:yangql/composable_kernel.git" did not exist on "abf4bdb9a9946c578d4801a79650e79938fb0e41"
[Refactor] Simplify index sign state handling in LegalizeNegativeIndex (#1354)
This commit refines the logic for determining the sign state of indices in the LegalizeNegativeIndex transformation. It prioritizes vector patterns, specifically Ramp and Broadcast nodes, to avoid compile-time lane queries. The handling of scalar indices is also streamlined, ensuring clearer diagnostics when non-negativity cannot be proven. These changes enhance the robustness and clarity of index handling in the transformation pass.
Showing
Please register or sign in to comment