[llvm-dev] [MachineScheduler] Skip empty scheduling regions
Yan Luo via llvm-dev
llvm-dev at lists.llvm.org
Mon Jul 16 10:17:11 PDT 2018
Hello Dev,
I have a question about empty scheduling region. Currently we compare the iterators to
see if there is zero or only one schedulable instruction in the current region. Why don't
we use NumRegionInstrs instead? Consider a scenario: there is only one real instruction
in the current region but several debug instructions before it.
Thanks,
Yan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180716/41aded35/attachment.html>
More information about the llvm-dev
mailing list