llvm / clangir

A new (MLIR based) high-level IR for clang.
https://clangir.org
Other
307 stars 84 forks source link

[CIR][ThroughMLIR] Support lowering cir.do to scf.while #695

Open wenhu1024 opened 2 weeks ago

wenhu1024 commented 2 weeks ago

This PR implements a simple do-while statement lowering cir.do to scf.while.

bcardosolopes commented 1 week ago

@ShivaChen @GaoXiangYa @Kritoooo can you please review this?

bcardosolopes commented 1 week ago

We just did a rebase against upstream, this PR needs to be updated to account for that, sorry for the churn!

wenhu1024 commented 1 week ago

We just did a rebase against upstream, this PR needs to be updated to account for that, sorry for the churn!

I had modified this pr.