Skip to content

An unfinished morass of code. Formerly an in work project for CS6120 @ Cornell, Fall 2020 edition

License

Notifications You must be signed in to change notification settings

EclecticGriffin/Bril-Toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bril Toolkit? - Lesson 5: SSA

Griffin Berlstein

Build Instructions

cargo build

Test Suite

cd tests
bash tests.sh

This will run turnt over all the folders with turnt tests defined and will run brench on the lvn_bench folder, grepping the output for missing or incorrect. This has also been modified to transform a number of programs to SSA form and then check that they are indeed SSA. There are also brench pipelines to test correctness with respect to SSA and the "roundtrip" transformation.

CLI Changes

Added two new transformations under the optimizations category, namely to_ssa and from_ssa.

cargo run -- transform -o to_ssa
cargo run -- transform -o from_ssa

Notes

I have a small test suite working, though I suspect there are likely bugs somewhere that I haven't fully cleaned up. A lot of this turned out to be somewhat tricky in small ways. So the code's become a real mess, which I'll work on cleaning up later.

About

An unfinished morass of code. Formerly an in work project for CS6120 @ Cornell, Fall 2020 edition

Resources

License

Stars

Watchers

Forks

Packages

No packages published