if typedInstr.From != "" {
                    if dep := findStageByRef(typedInstr.From, stages, stageByName); dep != nil {
                        stage.AppendDependencyStage(dep)
                        instr.SetDependencyByStageRef(typedInstr.From, dep)
                    } else {