Yan Luo via llvm-dev
2018-Jul-16 17:17 UTC
[llvm-dev] [MachineScheduler] Skip empty scheduling regions
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>