Skip to content
Snippets Groups Projects
Commit 30eee3cc authored by Aaron Councilman's avatar Aaron Councilman
Browse files

Remove old SROA comment

parent 211800d8
No related branches found
No related tags found
1 merge request!186Rodinia
Pipeline #201730 passed
...@@ -60,9 +60,6 @@ pub fn sroa( ...@@ -60,9 +60,6 @@ pub fn sroa(
.map(|(i, t)| (NodeID::new(i), *t)) .map(|(i, t)| (NodeID::new(i), *t))
.collect(); .collect();
// FIXME: We need to be able to eliminate 0-sized products regardless of what's in them
// This is actually really hard because we should also be able to eliminate singleton products
// regardless of what's in them
let can_sroa_type = |editor: &FunctionEditor, typ: TypeID| { let can_sroa_type = |editor: &FunctionEditor, typ: TypeID| {
editor.get_type(typ).is_product() editor.get_type(typ).is_product()
&& (allow_sroa_arrays || !type_contains_array(editor, typ)) && (allow_sroa_arrays || !type_contains_array(editor, typ))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment