You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
0 commit comments