Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register a toy back-end #94

Closed
wants to merge 3 commits into from
Closed

Register a toy back-end #94

wants to merge 3 commits into from

Conversation

hsmahesha
Copy link

  • This PR is not meant for merging into LLVM upstream, instead, it acts as a reference for newbies who want to register a new back-end to LLVM.

  • Steps to experiment:
    (1) Clone the LLVM upstream master branch to your local machine
    (2) Make changes locally as in this PR
    (3) Build LLVM by setting CMake configuration option -DLLVM_TARGETS_TO_BUILD="Toy"
    (4) Once the build is complete, run below command
    $ ./build/bin/llc --version
    (5) If you get below output from above command execution, then you have successfully added a new Toy back-end to LLVM.


LLVM (http://llvm.org/):
LLVM version 10.0.0git
DEBUG build with assertions.
Default target: x86_64-unknown-linux-gnu
Host CPU: znver1

Registered Targets:
toy - Toy

@repo-lockdown
Copy link

repo-lockdown bot commented Jan 13, 2020

This repository does not accept pull requests. Please follow http://llvm.org/docs/Contributing.html#how-to-submit-a-patch for contribution to LLVM.

@repo-lockdown repo-lockdown bot closed this Jan 13, 2020
@repo-lockdown repo-lockdown bot locked and limited conversation to collaborators Jan 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant