Code Monkey home page Code Monkey logo

Comments (7)

neildhickey avatar neildhickey commented on July 17, 2024

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.

pierremoreau avatar pierremoreau commented on July 17, 2024
  1. It would make it clear that it is not part of the SPIR-V <-> LLVM translator, but that it is only a dependency.
  2. 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.

AnastasiaStulova avatar AnastasiaStulova commented on July 17, 2024

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.

AnastasiaStulova avatar AnastasiaStulova commented on July 17, 2024

@pierremoreau do you have any known use case for the mangler (other than the translator itself)?

from spirv-llvm-translator.

pierremoreau avatar pierremoreau commented on July 17, 2024

@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.

thewilsonator avatar thewilsonator commented on July 17, 2024

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.

neildhickey avatar neildhickey commented on July 17, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.