Skip to content

【CINN】Optimize use of simplify #71321

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 3, 2025

Conversation

liuruyan
Copy link
Contributor

@liuruyan liuruyan commented Feb 27, 2025

PR Category

CINN

PR Types

Improvements

Description

优化了 ir_simplify 相关操作:

  1. 对「表达式化简」调用 ArithSimplify,避免调用 Simplify (Simplify 中包含 if、select 等化简)
  2. 优化 Simplify 中 mutator,对非下标部分 mutator 继承 ExprMutator,减少编译时间
  3. 明确语义,SimplifyForLoop ==> SimplifyUnitLoop,SimplifyBlock ==> SimplifyUnitBlock
  4. 修复 IrNodeType 打印错误的问题

Pcard-67164

Copy link

paddle-bot bot commented Feb 27, 2025

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@liuruyan liuruyan marked this pull request as draft March 3, 2025 02:34
@liuruyan liuruyan marked this pull request as ready for review March 3, 2025 02:36
@liuruyan liuruyan changed the title optimize use of simplify 【CINN】Optimize use of simplify Mar 3, 2025
@zyfncg zyfncg merged commit 6e62a0c into PaddlePaddle:develop Mar 3, 2025
36 checks passed
Enigmatisms pushed a commit to Enigmatisms/Paddle that referenced this pull request Mar 6, 2025
* optimize use of simplify

* remove simplify unit loop or block
YqGe585 pushed a commit to YqGe585/Paddle that referenced this pull request May 7, 2025
* optimize use of simplify

* remove simplify unit loop or block
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants