Skip to content

Commit

Permalink
One line is enough.
Browse files Browse the repository at this point in the history
  • Loading branch information
athas committed Nov 1, 2023
1 parent ba17feb commit aedc392
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Futhark/Optimise/CSE.hs
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,7 @@ performCSEOnStms =
f stms =
fst $
runReader
( cseInStms
(consumedInStms stms)
(stmsToList stms)
(pure ())
)
(cseInStms (consumedInStms stms) (stmsToList stms) (pure ()))
-- It is never safe to CSE arrays in stms in isolation,
-- because we might introduce additional aliasing.
(newCSEState False)
Expand Down

0 comments on commit aedc392

Please sign in to comment.