Vinicius Couto Espindola
Vinicius Couto Espindola
Hey, I'm trying to compile a Fortran _hello world_ source code through FIR to run on a RISC-V target using [Chipyard](https://chipyard.readthedocs.io/en/latest/index.html). It looks something like this: ```bash # lower Fortran...
The initializer for the null strings should leverage `#cir.zero` in some way. The reason for this is to improve performance when facing large zero/prefix-initialized strings. For example: ```c struct {...
> LGTM with one minor addition: add some doc bits to tablegen about how structs can be seen in the wild. E.g. it might not be obvious why anonymous structs...
https://github.com/llvm/clangir/blob/d5f6e2b5ac86f32848e23d1c0b79d0612b87cb64/clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp#L694-L712 Note: This is indeed an interesting difference, if we forget about LLVM and think only about CIR for a moment, we're also not being uniform right now (my fault),...
This is great, glad you beat me to it, we needed this to happen sooner or later. Brain dump: keeping the name at the "callsite" is a bit silly, we...
In the original codegen, Clang has a parent class `GlobalValue` that can handle different types of child classes homogeneously (e.g. global variables, functions, etc.) https://github.com/llvm/clangir/blob/097abd2f5256c6c54646a2e479d0d60934a6a367/llvm/include/llvm/IR/GlobalValue.h#L44 We often run into cases...
Basically decide whether char types should be represented using an alias (`!schar = !cir.int`) or a custom type. It should be taken into consideration that we want to differentiate between...
Before this patch, the CC lowering pass was applied only when explicitly requested by the user. This update changes the default behavior to always apply the CC lowering pass, with...
CC: @asl @bcardosolopes @lanza