[PATCH] D60861: [MachineScheduler] Check pending instructions when an instruction is scheduled
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 19 01:59:19 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL358743: [PATCH] [MachineScheduler] Check pending instructions when an instruction is… (authored by jamesm, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D60861?vs=195710&id=195864#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60861/new/
https://reviews.llvm.org/D60861
Files:
llvm/trunk/lib/CodeGen/MachineScheduler.cpp
Index: llvm/trunk/lib/CodeGen/MachineScheduler.cpp
===================================================================
--- llvm/trunk/lib/CodeGen/MachineScheduler.cpp
+++ llvm/trunk/lib/CodeGen/MachineScheduler.cpp
@@ -2159,6 +2159,8 @@
HazardRec->Reset();
}
HazardRec->EmitInstruction(SU);
+ // Scheduling an instruction may have made pending instructions available.
+ CheckPending = true;
}
// checkHazard should prevent scheduling multiple instructions per cycle that
// exceed the issue width.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60861.195864.patch
Type: text/x-patch
Size: 530 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190419/e3ca69e6/attachment.bin>
More information about the llvm-commits
mailing list