Commit 258ea24
Replace duplicated RemoveCloneOpPass with RemoveCloneOpsTransformImported (#16048)
Summary:
This change eliminates code duplication by replacing the local `RemoveCloneOpPass` implementation with the imported `RemoveCloneOpsTransformImported` from the executorch transforms module.
Previously, there were multiple implementations of the clone removal pass scattered across the codebase. This consolidation improves maintainability by ensuring a single source of truth for the clone removal optimization logic.
Reviewed By: DrJessop
Differential Revision: D881098621 parent d39d64b commit 258ea24
1 file changed
+2
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | 359 | | |
374 | 360 | | |
375 | 361 | | |
| |||
925 | 911 | | |
926 | 912 | | |
927 | 913 | | |
928 | | - | |
929 | 914 | | |
930 | 915 | | |
931 | 916 | | |
| |||
934 | 919 | | |
935 | 920 | | |
936 | 921 | | |
| 922 | + | |
937 | 923 | | |
938 | 924 | | |
939 | 925 | | |
940 | 926 | | |
941 | 927 | | |
942 | 928 | | |
943 | | - | |
944 | 929 | | |
945 | 930 | | |
946 | 931 | | |
| |||
0 commit comments