SROA read chains
Compare changes
Files
3+ 244
− 11
@@ -33,6 +33,8 @@ use crate::*;
@@ -54,15 +56,12 @@ pub fn sroa(editor: &mut FunctionEditor, reverse_postorder: &Vec<NodeID>, types:
@@ -70,8 +69,211 @@ pub fn sroa(editor: &mut FunctionEditor, reverse_postorder: &Vec<NodeID>, types:
@@ -516,8 +718,7 @@ impl<T: std::fmt::Debug> IndexTree<T> {
@@ -548,7 +749,7 @@ impl<T: std::fmt::Debug> IndexTree<T> {
@@ -579,7 +780,7 @@ impl<T: std::fmt::Debug> IndexTree<T> {
@@ -658,6 +859,38 @@ impl<T: std::fmt::Debug> IndexTree<T> {
@@ -696,7 +929,7 @@ fn reconstruct_product(