OSDN Git Service

[MCA] Remove SM.hasNext() call in FetchStage::execute.
authorOwen Rodley <owen.rodley@gmail.com>
Tue, 2 Oct 2018 00:40:08 +0000 (00:40 +0000)
committerOwen Rodley <owen.rodley@gmail.com>
Tue, 2 Oct 2018 00:40:08 +0000 (00:40 +0000)
commit0dc07911df812f460e55f4b748d598d272d3ae4e
tree2211a207bfd6efeb7e7b7d9b721a0513e008d02d
parent8ffa63b4d58f42ffd3c830c6a66a608a001e7a49
[MCA] Remove SM.hasNext() call in FetchStage::execute.

Summary:
This is redundant, as FetchStage::getNextInstruction already checks this
and returns llvm::ErrorSuccess() as appropriate.

NFC.

Reviewers: andreadb

Subscribers: gbedwell, llvm-commits

Differential Revision: https://reviews.llvm.org/D52642

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343555 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-mca/lib/Stages/FetchStage.cpp