mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-15 23:18:48 +00:00
Add tests for O1
This commit is contained in:
@@ -190,6 +190,15 @@ fn test_examples_gvn() {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn test_examples_optimize() {
|
||||||
|
test_opt_between_dirs(
|
||||||
|
&Path::new("examples/ir0"),
|
||||||
|
&Path::new("examples/opt"),
|
||||||
|
&mut O1::default(),
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_examples_asmgen_small() {
|
fn test_examples_asmgen_small() {
|
||||||
for dir in ASMGEN_TEST_DIR_LIST.iter() {
|
for dir in ASMGEN_TEST_DIR_LIST.iter() {
|
||||||
|
|||||||
Reference in New Issue
Block a user