[llvm-dev] Prioritizing an SDNode for scheduling

Alex Susu via llvm-dev llvm-dev at lists.llvm.org
Thu Oct 20 17:08:39 PDT 2016


   Hello.
     Is there a way to specify in the back end an (ISD::INLINEASM) SDNode to be scheduled 
first under all circumstances? I need to specify something like node priority to schedule 
the node before all other nodes in the SelectionDAG of the basic block.
     (Using chain or glue edges in order to make a node first is not a good idea, since I 
am doing this at instruction selection time, on individual nodes.)

   Thank you,
     Alex


More information about the llvm-dev mailing list