llvm / clangir

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

[CIR] Add support for unary fp2int builtins #669

Closed Lancern closed 1 week ago

Lancern commented 3 weeks ago

This PR adds new ops, CIRGen, and LLVM lowering support for the following unary fp2int builtins and libc functions:

bcardosolopes commented 3 weeks ago

Hi @Lancern, do you mind wrapping up older PRs before we move into new ones? It's a bit taxing to go over the same PR over and over again with weeks in between, hard to keep the details in memory. Thanks!

bcardosolopes commented 3 weeks ago

Let me rephrase: feel free to add more PRs, but I'll probably only look into new ones after we wrap up older ones!

Lancern commented 2 weeks ago

Rebased onto the latest main.

Lancern commented 2 weeks ago

do you mind wrapping up older PRs before we move into new ones? It's a bit taxing to go over the same PR over and over again with weeks in between, hard to keep the details in memory. Thanks!

OK. I'll keep up wrapping up my older PRs, hopefully in the next days!