summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorGangzheng Tong <tonggangzheng@gmail.com>2025-07-11 13:16:10 -0700
committerGitHub <noreply@github.com>2025-07-11 20:16:10 +0000
commite3afef145e67e74e054407606320be0e42a6aa63 (patch)
tree991d21236c86402fd2b3ae380be46833c6d2938b /.github
parenteaaf0196c052055ff166a870e8f072dd02a6dcce (diff)
Fix metal segfault by check vectorValue before accessing (#7688)
* Check vectorValue before accessing * Fix metal segfault by using IRElementExtract for general vector handling Address review comments by replacing IRMakeVector-specific code with IRElementExtract to handle any vector instruction type (IRIntCast, etc). This makes the code more robust and fixes cases where float2(1,2) creates IRIntCast instead of IRMakeVector. Co-authored-by: Yong He <csyonghe@users.noreply.github.com> * Fix sign comparison warning in metal legalize Cast originalElementCount->getValue() to UInt to avoid comparison between signed and unsigned integers. Co-authored-by: Yong He <csyonghe@users.noreply.github.com> --------- Co-authored-by: Yong He <yonghe@outlook.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Yong He <csyonghe@users.noreply.github.com>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions