atrick added a comment. Are you handling the case when the previous Top pick is scheduled at the bottom and vice-versa? I'm afraid the Candidate is keeping a pointer to a potentially already scheduled instruction. Repository: rL LLVM http://reviews.llvm.org/D19350