Pull Request已成功合入, 合并人@ascend-robot
(感谢 hujiajun 的贡献)变更摘要
该 PR 用于修复 HFusion 泛化测试缺少预处理 pass 的问题:在测试文件 auto-vectorize-v2-generalization.mlir 的 RUN 命令行中、--hfusion-auto-vectorize-v2 之前新增 --hfusion-pre-vectorization-fusion,使命名 linalg 算子能在 AV2 处理前先被泛化为 linalg.generic,从而保证泛化测试按预期执行。
主要改动
- 新增预处理 pass 调用:在 RUN 行中于
--hfusion-auto-vectorize-v2前加入--hfusion-pre-vectorization-fusion,确保命名 linalg 算子先泛化为linalg.generic再进入后续向量化流程。 - 仅涉及测试用例文件:改动只发生在
bishengir/test/Dialect/HFusion/AutoVectorize/auto-vectorize-v2-generalization.mlir的 RUN 行,属单行增减(+1 -1),不涉及生产代码逻辑变更。


libing-pipeline创建中,请等待……


Thanks for your pull-request.
The full list of commands accepted by me can be found at here。
You can get sig-info at here
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| repo-Ascend/AscendNPU-IR | ✅ 吴凌飞, NoBBAI (2/2) | ✅ 吴凌飞 (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
Hu_JJN, thanks for your pull request. All authors of the commits have signed the CLA. 👍


✅ The pipeline is running (pipeline number: 1925), Task URL link, please wait a moment ...


ascend docs pipeline is running...


| 阶段 | 任务名 | 状态 | 详情 |
|---|---|---|---|
| 恶意代码检查 | Antipoison | ✅ | >>> |
| 流水线 | PR-pipeline_ascendnpu-ir-A5 | ✅ | >>> |
- retry : 重试流水线所有失败子任务
- retry <任务名> : 仅重试指定失败子任务
- stop : 停止流水线


✅ 跳过 docs ci 检查,没有需要检查的文档文件


✅ The pipeline is running (pipeline number: 384), Task URL link, please wait a moment ...


| 阶段 | 任务名 | 状态 | 详情 |
|---|---|---|---|
| 编译构建 | Build构建 | ❌ | >>> |
| 流水线 | Ascend_npu_ir_coverage | ❌ | >>> |
- coverage : 运行流水线


/lgtm
/approve


再 auto-vectorize-v2 之前进行 hfusion-pre-vectorization-fusion 确保 pass 执行前的 ir 符合 pass 预期


✅ The pipeline is running (pipeline number: 397), Task URL link, please wait a moment ...


| 阶段 | 任务名 | 状态 | 详情 |
|---|---|---|---|
| 编译构建 | Build构建 | ❌ | >>> |
| 流水线 | Ascend_npu_ir_coverage | ❌ | >>> |
- coverage : 运行流水线


描述 Description
Add --hfusion-pre-vectorization-fusion to the RUN line so named linalg ops are generalized to linalg.generic before AV2 processes them.
类型 Category
Checklist