From 30eee3cc5ca5535e2e5377f9daa5ccf7a798d552 Mon Sep 17 00:00:00 2001
From: Aaron Councilman <aaronjc4@illinois.edu>
Date: Mon, 17 Feb 2025 19:04:00 -0600
Subject: [PATCH] Remove old SROA comment

---
 hercules_opt/src/sroa.rs | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/hercules_opt/src/sroa.rs b/hercules_opt/src/sroa.rs
index 6d6503b0..8865f863 100644
--- a/hercules_opt/src/sroa.rs
+++ b/hercules_opt/src/sroa.rs
@@ -60,9 +60,6 @@ pub fn sroa(
         .map(|(i, t)| (NodeID::new(i), *t))
         .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| {
         editor.get_type(typ).is_product()
             && (allow_sroa_arrays || !type_contains_array(editor, typ))
-- 
GitLab