Sirui Mu
Sirui Mu
Hi. Recently I'm working on this issue. I noticed that clangir does not have floating-point types. C/C++ floating-point values are lowered to MLIR values with the built-in `f32` and `f64`...
@bcardosolopes No I have not started working on this. @sitio-couto Feel free to take it!
Beside SSA value names, what about basic block names? MLIR does not support block names either.
The important difference between CIR and LLVM IR here is how they distinguish different struct types. In LLVM IR, different `llvm::StructType` objects represent different struct types. The name of a...
> It sounds like an ODR violation to me if we have two different StructType with the same name. What's the reason for the design? Are you asking about why...
CIR does not yet properly handle the `bool` type. See #480 .
Thanks for pointing this out @bcardosolopes . The constraint of `ExtractMemberOp` here does not apply because the operation is "temporary" -- it is created during the LLVMIR lowering pass, and...
> Maybe lowering prepare is a good candidate or is to early for that? We can put the lowering of `!cir.method` at lowering prepare and it will also work, but...
The name `cir.module` may be confused with C++20 modules. Maybe the name `cir.translation_unit` is better?
Rebased onto the latest `main`.