Is there any specific documentation on this? Is there a point of contact for this file that I might bug? So I have an instruction that needs noops inserted and it appears that the noops are being inserted in the EmitSchedule function of the PostRAScheduler. From the loop in EmitSchedule it looks like it's inserting noops whenever SUnit is NULL. I don't see anything in the DAG that appears odd or any empty nodes, how are these NULL SUnits inserted into the Sequence? Thanks, Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180620/a424d8c5/attachment.html>
On 20.06.2018 17:51, Ryan Taylor via llvm-dev wrote:> Is there any specific documentation on this? Is there a point of contact > for this file that I might bug? > > So I have an instruction that needs noops inserted and it appears that > the noops are being inserted in the EmitSchedule function of the > PostRAScheduler. From the loop in EmitSchedule it looks like it's > inserting noops whenever SUnit is NULL. I don't see anything in the DAG > that appears odd or any empty nodes, how are these NULL SUnits inserted > into the Sequence?I'm not an expert on this, but I believe they are inserted via the target's ScheduleHazardRecognizer implementation. Cheers, Nicolai> > Thanks, > > Ryan > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-- Lerne, wie die Welt wirklich ist, Aber vergiss niemals, wie sie sein sollte.
Yes thanks, I saw that. I missed the target dependent pass. On Thu, Jun 21, 2018, 3:17 AM Nicolai Hähnle via llvm-dev < llvm-dev at lists.llvm.org> wrote:> On 20.06.2018 17:51, Ryan Taylor via llvm-dev wrote: > > Is there any specific documentation on this? Is there a point of contact > > for this file that I might bug? > > > > So I have an instruction that needs noops inserted and it appears that > > the noops are being inserted in the EmitSchedule function of the > > PostRAScheduler. From the loop in EmitSchedule it looks like it's > > inserting noops whenever SUnit is NULL. I don't see anything in the DAG > > that appears odd or any empty nodes, how are these NULL SUnits inserted > > into the Sequence? > > I'm not an expert on this, but I believe they are inserted via the > target's ScheduleHazardRecognizer implementation. > > Cheers, > Nicolai > > > > > Thanks, > > > > Ryan > > > > > > _______________________________________________ > > LLVM Developers mailing list > > llvm-dev at lists.llvm.org > > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > > > > > -- > Lerne, wie die Welt wirklich ist, > Aber vergiss niemals, wie sie sein sollte. > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180621/f17516f7/attachment.html>