[Mlir-commits] [mlir] [mlir][EmitC] lower roundeven to __builtin_roundeven (PR #227822)

ioana ghiban llvmlistbot at llvm.org
Tue Oct 6 04:25:10 PDT 2026


================

----------------
ioghiban wrote:

Can you please add a comment that explains why `emitc::LanguageTarget::c99` is needed ? Right now it might be misleading if missing the context.
Something like:
```cpp
// Use the C naming branch for Clang's builitin, even when emitting C++:
// it appends 'f' for f32 without adding an invalid 'std::' prefix
```

https://github.com/llvm/llvm-project/pull/227822


More information about the Mlir-commits mailing list