llvm / clangir

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

[CIR][Lowering] Add MLIR lowering support for CIR math operations #592

Closed GaoXiangYa closed 2 months ago

GaoXiangYa commented 2 months ago

This pr adds cir.ceil cir.exp2 cir.exp cir.fabs cir.floor cir.log cir.log10 cir.log2 cir.round cir.sqrt lowering to MLIR passes and test files.