diff options
author | Mengxuan Cai <mengxuan.cai@huawei.com> | 2022-10-31 11:45:44 -0400 |
---|---|---|
committer | CongzheUalberta <congzhecao@gmail.com> | 2022-10-31 11:46:28 -0400 |
commit | eda3c93486ca113f63ccf8f28ca9c0ea90c09386 (patch) | |
tree | 68e457c4a473142b9ce0d57130fdb4687cd4a493 /clang/lib/Frontend/ASTMerge.cpp | |
parent | aee2a35ac4ab4fe62bb0ce4e314966ab9207efd1 (diff) | |
download | llvm-eda3c93486ca113f63ccf8f28ca9c0ea90c09386.zip llvm-eda3c93486ca113f63ccf8f28ca9c0ea90c09386.tar.gz llvm-eda3c93486ca113f63ccf8f28ca9c0ea90c09386.tar.bz2 |
[LoopFuse] Ensure loops are in loop simplified form under new PM
Loop Fusion (Function Pass) requires loops in simplified form. With
legacy-pm, loop-simplify pass is added as a dependency for loop-fusion.
But the new pass manager does not always ensure this format. This patch
tries to invoke simplifyLoop() on loops that are not in simplified form
only for new PM.
Reviewed By: aeubanks
Differential Revision: https://reviews.llvm.org/D136781
Diffstat (limited to 'clang/lib/Frontend/ASTMerge.cpp')
0 files changed, 0 insertions, 0 deletions