Add tests for O1

This commit is contained in:
Minseong Jang
2022-05-23 13:34:30 +09:00
parent 86c2194c0e
commit 71b0c820f5

View File

@@ -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]
fn test_examples_asmgen_small() {
for dir in ASMGEN_TEST_DIR_LIST.iter() {