[MCA][Pipeline] Don't visit stages in reverse order when calling method cycleEnd...
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Wed, 27 Mar 2019 15:41:53 +0000 (15:41 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Wed, 27 Mar 2019 15:41:53 +0000 (15:41 +0000)
commit333a3264f472acf5dac949e23f43cc9fa04ba817
treeb80ac0398951ac0b8944a5a7fb21219e1229fe4a
parentbbc59d8d0d091f3ae0856e9cc2155e8f30deacdd
[MCA][Pipeline] Don't visit stages in reverse order when calling method cycleEnd(). NFCI

There is no reason why stages should be visited in reverse order.
This patch allows the definition of stages that push instructions forward from
their cycleEnd() routine.

llvm-svn: 357074
llvm/lib/MCA/Pipeline.cpp