From 5529a7006ae22df4ea69e06121bd0111fa52e45c Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 18 Aug 2018 12:23:41 -0400 Subject: opt: Re-run optimizations after reordering expressions This catches new data flow inferences that can be made after swapping the children of an expression. --- tests/test_data_flow_and_swap.out | 12 ++++++++++++ tests/test_data_flow_or_swap.out | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 tests/test_data_flow_and_swap.out create mode 100644 tests/test_data_flow_or_swap.out (limited to 'tests') diff --git a/tests/test_data_flow_and_swap.out b/tests/test_data_flow_and_swap.out new file mode 100644 index 0000000..1e72fd9 --- /dev/null +++ b/tests/test_data_flow_and_swap.out @@ -0,0 +1,12 @@ +basic +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/g/h +basic/k/foo +basic/l/foo +basic/l/foo/bar diff --git a/tests/test_data_flow_or_swap.out b/tests/test_data_flow_or_swap.out new file mode 100644 index 0000000..1e72fd9 --- /dev/null +++ b/tests/test_data_flow_or_swap.out @@ -0,0 +1,12 @@ +basic +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/g/h +basic/k/foo +basic/l/foo +basic/l/foo/bar -- cgit v1.2.3