Skip to content

Commit

Permalink
Style fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
athas committed Aug 16, 2023
1 parent b145c0d commit 35f6a1e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/Futhark/Pass/ExtractKernels/Intragroup.hs
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,10 @@ intraGroupStm stm@(Let pat aux e) = do

case e of
Loop merge form loopbody ->
localScope (scopeOf form') $
localScope (scopeOfFParams $ map fst merge) $ do
loopbody' <- intraGroupBody loopbody
certifying (stmAuxCerts aux) $
letBind pat $
Loop merge form' loopbody'
localScope (scopeOf form' <> scopeOfFParams (map fst merge)) $ do
loopbody' <- intraGroupBody loopbody
certifying (stmAuxCerts aux) . letBind pat $
Loop merge form' loopbody'
where
form' = case form of
ForLoop i it bound inps -> ForLoop i it bound inps
Expand Down

0 comments on commit 35f6a1e

Please sign in to comment.