Giter Club home page Giter Club logo

Comments (3)

quarnster avatar quarnster commented on August 21, 2024

Is there any functionality lost by not linking in the llvm libs and having direct access to LLVM's internals? Code optimization passes, performance tuning for specific cpu generations and architectures, etc are all available via llvm-as, llc, llvm-link et al, right?

from llgo.

axw avatar axw commented on August 21, 2024

Code optimization passes, performance tuning for specific cpu generations and architectures, etc are all available via llvm-as, llc, llvm-link et al, right?

Right. LLVM's nicely modular like that, so llgo can just write out IR, and we can pump it through "opt" for optimisation. llvm-link understands both IR and bitcode, as does clang.

Is there any functionality lost by not linking in the llvm libs and having direct access to LLVM's internals?

The only thing I can think of is knowledge of available target triples, which gets baked into libLLVM. We can just as well do that with llgo, though, using something similar to llvm-tblgen.

from llgo.

axw avatar axw commented on August 21, 2024

Taking this off milestones for now. This can be done any time, as it was shown that cyclic metadata was doable with the C API after all.

from llgo.

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.