Add dependencies between instructions