Skip to content

fix(vpto): normalize vector shift counts - #1249

Draft
Zhendong404 wants to merge 3 commits into
hw-native-sys:mainfrom
Zhendong404:codex/issue-1220
Draft

fix(vpto): normalize vector shift counts#1249
Zhendong404 wants to merge 3 commits into
hw-native-sys:mainfrom
Zhendong404:codex/issue-1220

Conversation

@Zhendong404

Copy link
Copy Markdown
Collaborator

Summary

  • require signed vector shift-count carriers while preserving lhs/result types
  • normalize PTODSL and VMI-to-VPTO shift counts with bitcasts
  • cover signedness verification and lowering regressions

Validation

  • cmake --build /home/zhangzhendong/ptoas-workspace/builds/issue-1220 --target pto-test-opt -j8
  • llvm-lit: vmi_to_vpto_shrui, vmi_to_vpto_shli, vmi_to_vpto_shrsi, vshift_mixed_signedness_verify
  • ptodsl/tests/test_vector_cube_ops.py
  • ptodsl/tests/test_shift_count_normalization.py
  • ptodsl/tests/test_vmi_vshr_signedness.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant