Skip to content

[Feature] ptoas支持从ir到cpp文件变量名变不变,同时需要保留 SSA name hint。 #337

@xig514

Description

@xig514

Summary

  1. ptoas在level3模式下,cpp文件中变量名的序号和.pto文件不一致,导致定位的时候容易看错,具体可以附件中的txt(txt就是pto文件,改一下扩展名)和cpp文件
  2. ptoas是否可以支持SSA name hint,这样在ir中可以携带前端python的变量名,方便问题定位,不然代码中大量的vXXX,不可读。

Motivation / use case

可维可测、易用性提升

kernel.cpp
kernel.txt

Proposed API / behavior

No response

Alternatives considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions