-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
…and a Readme, and re-ran the scripts. (#679) Co-authored-by: Luisa Cicolini <[email protected]>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
These scripts are used to generate .lean files for bitblasting proofs. | ||
|
||
mlir-tool.py generates .lean files based on LLVM's test cases. | ||
|
||
types.py generates _proof.lean files from mlir-tool's output. These files contain theorems that should be solvable by bitblasting. | ||
|
||
To use: | ||
|
||
- Download and build llvm (with the mlir option) from [github](https://github.com/llvm/llvm-project) | ||
- Add llvm's built binaires to your path | ||
- Insert the path from lean-mlir to llvm-project in config.py | ||
- run run.sh from this directory |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
llvm_path="" | ||
|
||
if len(llvm_path) == 0: | ||
raise ValueError("You need to give the path to llvm in config.py") | ||
|
||
test_path="SSA/Projects/InstCombine/tests/LLVM" |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
cd ../../../.. | ||
|
||
python SSA/Projects/InstCombine/scripts/mlir-tool.py | ||
|
||
python SSA/Projects/InstCombine/scripts/types.py |
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.