[VPTO] Lower pto.trap to Bisheng AICore trap - #1139
Merged
Merged
Conversation
Zhendong404
marked this pull request as ready for review
August 4, 2026 16:34
|
能否在 ptodsl/ptodsl/_control_flow.py 或 _ops.py 中添加 trap() 函数并导出到 pto 命名空间?例如: |
Collaborator
Author
已更新 |
A5 板测成功
|
A3 板测完成(有跳过)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pto.traptollvm.hivm.TRAP()in both VPTO LLVM emitters.Validation
llvm-lit: passed.check-pto: 1614 passed, 1 unsupported, 4 unrelated existing A3 UB FileCheck failures intadd_*cases.Fixes #1123