Skip to content

[Bug] VPTO emission pipeline 输出阶段与测试 CHECK 对齐规范 #853

Description

@pbbb205

Component

PTO Dialect / ODS (include/PTO/IR)

Description

VPTO emission pipeline: pto.mte_l0c_gm is lowered to copy_matrix_cc_to_gm by VPTOExpandWrapperOps — test CHECK expectations need pipeline-stage specification

Reproduction (minimal)

xx

Expected behavior

三种 nz format(NZ2DN / NZ2ND / NZ2NZ)展开后 op 结构完全相同(都是 castptr + set_loop3_para + set_channel_para + copy_matrix_cc_to_gm)
区分信息只在 packed i64 常量 xm/xt 中
仅靠 CHECK op name 无法区分三种 format

Actual behavior / error logs

--emit-vpto pipeline 把 mte_l0c_gm lowering 为 copy_matrix_cc_to_gm + 辅助 ops。测试 CHECK 如果期望中间层 IR(mte_l0c_gm)就会失败。

Git commit

c038b4b

Host platform

None

Target Ascend arch (if relevant)

None

PTOAS build level (if relevant)

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions