llvm / clangir

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

Can we create a LoweringHelpers for LowerCIRToMLIR similar to ToLLVM? #634

Closed Kritoooo closed 1 month ago

Kritoooo commented 1 month ago

While working on CIRToMLIR, I noticed that ToLLVM has LoweringHelpers that include some common functions, whereas CIRToMLIR does not. Should we create a similar one for CIRToMLIR?

bcardosolopes commented 1 month ago

If you have uses for them sounds like a good thing!