Comments (2)
Hi @bcardosolopes,
Thank you for quick response. Function attributes are required not only for pure C code, but also for OpenMP offloading calculations into another target (for example GPU). OpenMP dialect is already part of the llvm-project but it does not support target offloading.
There is a RFC where we are wondering how to implement function attributes. Could you share your point of view about function attributes for OpenMP ( https://discourse.llvm.org/t/rfc-omp-module-and-omp-function-vs-dialect-attributes-to-encode-openmp-properties/67998 ) ? I am sure that proper implementation of function attributes will be beneficial both for CIR and OpenMP folks.
from clangir.
Hello @DominikAdamski. Yes, it's a known issue we're still missing the emission of those, we'll get there at some point - patches are welcome in the meantime :)
from clangir.
Related Issues (19)
- Support for bitfields HOT 5
- `Dialect/Math/canonicalize.mlir` is failing on macOS HOT 1
- StructAttr -> AttrDef in CIROps.td HOT 6
- MLIR based diagnostics (e.g. LifetimeChecker) should be defined using tablegen HOT 1
- Documentation: Mention Swift's SIL as inspiration HOT 3
- clang frontend command failed with exit code 134 HOT 3
- Return int8Ty instead of i1 when function defined return type `bool` HOT 4
- Optimizations in clangir? HOT 5
- Fix LLVM lowering for clang/test/CIR/CIRToLLVM/goto.cir HOT 2
- Proper support for primitive types HOT 9
- Fix clang/test/CIR/CodeGen/lambda.cpp testcase
- Differentiate between signed and unsigned types HOT 8
- undefined reference to `cir::DominatingValue<cir::RValue>::saved_type::restore(cir::CIRGenFunction&)' HOT 4
- Ambiguity between symbol visibility and linkage type in `cir.func` assembly format HOT 2
- Add clang CIR codegen support for C/C++ unary operators HOT 11
- Support for `Decl::PragmaComment` HOT 1
- Add LLVM lowering support for cir.scope HOT 1
- Fix CIR parsing problem with struct/classes HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clangir.