Skip to content

fix(ptodsl): preserve vdup integer signedness - #1133

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

fix(ptodsl): preserve vdup integer signedness#1133
Zhendong404 wants to merge 3 commits into
hw-native-sys:mainfrom
Zhendong404:codex/issue-1102

Conversation

@Zhendong404

@Zhendong404 Zhendong404 commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Preserve signed and unsigned integer element types when pto.vdup broadcasts a scalar.
  • Add regression coverage for all i/si/ui 8/16/32-bit scalar types.
  • Verify vdup(ui16) composes with vlds(ui16*) and vor.

Reproduction

Validation

  • python ptodsl/tests/test_issue_1102_vdup.py
  • python lib/TileOps/issue_1102_repro.py
  • cmake --build /home/zhangzhendong/ptoas-workspace/builds/issue-1102 --target check-dsl -j2
  • PTODSL: 28/28 passed

Closes #1102

@Zhendong404
Zhendong404 marked this pull request as ready for review August 4, 2026 12:26
@Zhendong404
Zhendong404 marked this pull request as draft August 5, 2026 02:19
@Zhendong404 Zhendong404 changed the title fix(ptodsl): normalize signed vdup scalar operands (#1102) fix(ptodsl): preserve vdup integer signedness Aug 5, 2026
@Zhendong404
Zhendong404 marked this pull request as ready for review August 6, 2026 06:13
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.

[Bug] [PTODSL] [阻塞] pto.vdup 无法处理 ui16/ui32 标量,生成的 operand 与 result 类型不一致

1 participant