Skip to content

Commit

Permalink
opDependencies: fix case for SegOps.
Browse files Browse the repository at this point in the history
  • Loading branch information
athas committed Nov 11, 2023
1 parent 971677b commit d621830
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Futhark/IR/SegOp.hs
Original file line number Diff line number Diff line change
Expand Up @@ -999,8 +999,7 @@ instance
where
cheapOp _ = False
safeOp _ = True
opDependencies op =
replicate (length . kernelBodyResult $ segBody op) (freeIn op)
opDependencies op = replicate (length (segOpType op)) (freeIn op)

--- Simplification

Expand Down

0 comments on commit d621830

Please sign in to comment.