mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
[SystemZ] NFC refactoring in SystemZHazardRecognizer.
Use Reset() after emitting a call. Review: Ulrich Weigand llvm-svn: 326881
This commit is contained in:
parent
e46b765907
commit
0beef0f361
@ -253,11 +253,8 @@ EmitInstruction(SUnit *SU) {
|
||||
// After returning from a call, we don't know much about the state.
|
||||
if (SU->isCall) {
|
||||
DEBUG(dbgs() << "++ Clearing state after call.\n";);
|
||||
clearProcResCounters();
|
||||
LastFPdOpCycleIdx = UINT_MAX;
|
||||
CurrGroupSize += getNumDecoderSlots(SU);
|
||||
assert (CurrGroupSize <= 3);
|
||||
nextGroup();
|
||||
Reset();
|
||||
LastEmittedMI = SU->getInstr();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user