[llvm-dev] PostRAScheduler

Nicolai Hähnle via llvm-dev llvm-dev at lists.llvm.org
Thu Jun 21 00:17:23 PDT 2018


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.


More information about the llvm-dev mailing list