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

https://github.com/llvm/llvm-project/issues/165 but for windows 10 #177

Closed
ghost opened this issue Mar 13, 2020 · 3 comments
Closed
Labels
documentation question A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

Comments

@ghost
Copy link

ghost commented Mar 13, 2020

I have so many questions. is there a tutorial or how-to somewhere? for example, with a simple example of how to set it up and test it works. without missing information.

I know to download package. but can't find good info on if it works, through Google.

please help.

@ghost
Copy link
Author

ghost commented Mar 14, 2020

no useful info under https://llvm.org/docs/#documentation or https://llvm.org/docs/#llvm-design-overview , wish I knew that before.

@bwendling
Copy link
Collaborator

Tutorial for what? If you're trying to understand the code base, you might want to start with the Kaleidoscope tutorial: http://llvm.org/docs/tutorial/OCamlLangImpl1.html?highlight=kaleidoscope

@RKSimon RKSimon added question A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead! documentation labels Apr 12, 2022
@xgupta
Copy link
Contributor

xgupta commented Jan 26, 2023

Yes, you have more specific, generally, tutorial docs are here - https://llvm.org/docs/GettingStartedTutorials.html and https://llvm.org/docs/tutorial/,

@xgupta xgupta closed this as completed Jan 26, 2023
lanza pushed a commit to lanza/llvm-project that referenced this issue Feb 8, 2024
This change introduces `cir-translate` as a replacement of
`mlir-translate` to convert CIR directly to LLVM IR. The main benefit of
this is to utilize the CIR attribute interface to handle CIR-specific
attributes such as `cir.extra`. Other advantages at this time, besides
the cir attribute support, could be that we can go directly from CIR to
LLVMIR without exposing the intermediate MLIR LLVM dialect form.
Previously `cir-tool` emit the LLVM dialect form and `milr-translate`
took it from there. Now `cir-translate` can directly take CIR and yield
LLVMIR.

I'm also renaming `cir-tool` to `cir-opt` which eventually would be just
a CIR-to-CIR transformer, but for now I'm keeping the functionality of
CIR to LLVM dialect.

So,
`cir-opt` will do all CIR-to-CIR transforms, just like LLVM `opt` or
`mlir-opt`, and
`cir-translate` will handle CIR to LLVMIR translation, and
LLVMIR-to-LLVMIR transforms, like the LLVM `llc` or the `mlir-translate`
vext01 referenced this issue in vext01/llvm-project Jul 1, 2024
Add floating point constant lowering support.
pysuxing pushed a commit to pysuxing/llvm-project that referenced this issue Jul 17, 2024
This change introduces `cir-translate` as a replacement of
`mlir-translate` to convert CIR directly to LLVM IR. The main benefit of
this is to utilize the CIR attribute interface to handle CIR-specific
attributes such as `cir.extra`. Other advantages at this time, besides
the cir attribute support, could be that we can go directly from CIR to
LLVMIR without exposing the intermediate MLIR LLVM dialect form.
Previously `cir-tool` emit the LLVM dialect form and `milr-translate`
took it from there. Now `cir-translate` can directly take CIR and yield
LLVMIR.

I'm also renaming `cir-tool` to `cir-opt` which eventually would be just
a CIR-to-CIR transformer, but for now I'm keeping the functionality of
CIR to LLVM dialect.

So,
`cir-opt` will do all CIR-to-CIR transforms, just like LLVM `opt` or
`mlir-opt`, and
`cir-translate` will handle CIR to LLVMIR translation, and
LLVMIR-to-LLVMIR transforms, like the LLVM `llc` or the `mlir-translate`
pysuxing pushed a commit to pysuxing/llvm-project that referenced this issue Jul 17, 2024
This change introduces `cir-translate` as a replacement of
`mlir-translate` to convert CIR directly to LLVM IR. The main benefit of
this is to utilize the CIR attribute interface to handle CIR-specific
attributes such as `cir.extra`. Other advantages at this time, besides
the cir attribute support, could be that we can go directly from CIR to
LLVMIR without exposing the intermediate MLIR LLVM dialect form.
Previously `cir-tool` emit the LLVM dialect form and `milr-translate`
took it from there. Now `cir-translate` can directly take CIR and yield
LLVMIR.

I'm also renaming `cir-tool` to `cir-opt` which eventually would be just
a CIR-to-CIR transformer, but for now I'm keeping the functionality of
CIR to LLVM dialect.

So,
`cir-opt` will do all CIR-to-CIR transforms, just like LLVM `opt` or
`mlir-opt`, and
`cir-translate` will handle CIR to LLVMIR translation, and
LLVMIR-to-LLVMIR transforms, like the LLVM `llc` or the `mlir-translate`
keryell pushed a commit to keryell/llvm-project that referenced this issue Oct 19, 2024
This change introduces `cir-translate` as a replacement of
`mlir-translate` to convert CIR directly to LLVM IR. The main benefit of
this is to utilize the CIR attribute interface to handle CIR-specific
attributes such as `cir.extra`. Other advantages at this time, besides
the cir attribute support, could be that we can go directly from CIR to
LLVMIR without exposing the intermediate MLIR LLVM dialect form.
Previously `cir-tool` emit the LLVM dialect form and `milr-translate`
took it from there. Now `cir-translate` can directly take CIR and yield
LLVMIR.

I'm also renaming `cir-tool` to `cir-opt` which eventually would be just
a CIR-to-CIR transformer, but for now I'm keeping the functionality of
CIR to LLVM dialect.

So,
`cir-opt` will do all CIR-to-CIR transforms, just like LLVM `opt` or
`mlir-opt`, and
`cir-translate` will handle CIR to LLVMIR translation, and
LLVMIR-to-LLVMIR transforms, like the LLVM `llc` or the `mlir-translate`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation question A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!
Projects
None yet
Development

No branches or pull requests

3 participants