Skip to content

Commit 24aef7c

Browse files
committed
First commit: let's make this public even if it's ugly.
0 parents  commit 24aef7c

File tree

3 files changed

+1029
-0
lines changed

3 files changed

+1029
-0
lines changed

README.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# TritonAST to LLVM-IR and back
2+
3+
This code has been developed as a quick test in a weekend to evaluate how feasible it would have been to use LLVM-IR optimizations to simplify a TritonAST.
4+
5+
The steps are:
6+
7+
1. getting an **unrolled** TritonAST;
8+
2. convert it to LLVM-IR via the **TritonAstToLLVMIR** function;
9+
3. get the **simplified** TritonAST as output with the **LLVMIRToTritonAst** function.
10+
11+
# TODO
12+
13+
1. Provide a C++ example showing the described steps.
14+
2. Verify the consistency of all the translations.
15+

0 commit comments

Comments
 (0)