Comments (7)
Hi Pierre. Would it be possible for you to enumerate the benefits you see of separating out the Mangler into a separate repository?
from spirv-llvm-translator.
- It would make it clear that it is not part of the SPIR-V <-> LLVM translator, but that it is only a dependency.
- As it is also used in at least another project (SPIR-Tools), if the mangler needs to be updated, it easily benefits all its consumers without having to send the same fixes to all of them.
I donβt really see more benefits than those.
from spirv-llvm-translator.
OpenCL TSG call July 31:
- Ok to do if we find a use case for this other than the translator itself.
from spirv-llvm-translator.
@pierremoreau do you have any known use case for the mangler (other than the translator itself)?
from spirv-llvm-translator.
@AnastasiaStulova Not really; the mangler is also being used by SPIR-Tools, but I am not sure how used that tool is.
So we should probably just move it out of lib/SPIRV (maybe into lib/Mangler) but keep it in the same directory.
from spirv-llvm-translator.
The builtins should be intrinsics, not itanium with extensions mangled C++, it makes it much harder to work with non-C++ front ends.
from spirv-llvm-translator.
@thewilsonator, this is a separate issue to the one being discussed here. If you would like to raise a separate issue we can discuss this in more detail.
For this particular issue, this project is the only project currently using the mangler library so we do not plan to carry out this refactoring work unless there is a clear need.
from spirv-llvm-translator.
Related Issues (20)
- Build Failure in relation to the master of llvm
- Build is broken on LLVM 17 and some other branches HOT 2
- llvm_release_150 regression: FortranArrayNoType test fails HOT 4
- Is there no 18.0.0 HOT 2
- Missing SPIR-V 1.4 features/changes HOT 2
- llvm-as does not verify LLVM output from SPIR-V to LLVM translation (Overlapping tbaa.struct regions) HOT 2
- Indicies in SpecConstantOp PtrAccessChain of global variales are not adjusted for their actual type.
- Both GetElementPtrConstantExpr and GetElementPtrInst may represent access to a buildin variable HOT 1
- `ID '19' decorated with NoSignedWrap multiple times is not allowed.` HOT 1
- Translator incapable to generate TypeStruct EntryPoint parameters
- User defined/declared functions are wrongly identified as OpenCL builtins HOT 1
- Invalid OpenCL version and non-cpp source language lead to crash while generating device-dependent OpenCL binaries from a valid SPIR-V input HOT 9
- InvalidInstruction: Can't translate llvm instruction with LLVM 18 (working with 17) HOT 8
- spt file containing GlobalVariableHostAccessINTEL changes after -to-binary and then -to-text
- Drop llvm.compiler.used GV? HOT 1
- Add SPIR-V backend - SPIR-V Translator cross validation HOT 4
- SPV_EXT_relaxed_printf_string_address_space allows format from too many address spaces
- How to build LLVMSPIRVLib as a shared library on Windows? HOT 2
- Image validation in unit test
- Two days tyring to figure this out. HOT 2
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 spirv-llvm-translator.