[LLVMdev] List Scheduling on LLVM Instructions

Chris Lattner sabre at nondot.org
Thu Dec 15 18:16:06 PST 2005


On Fri, 16 Dec 2005, Tzu-Chien Chiu wrote:
> Didn't SparcV9 backend implement list scheduling?

Yes, but its scheduler cannot be used by the target-independent code 
generators: the V9 backend uses a different representation of machine 
instructions.

-Chris

> 2005/12/16, Chris Lattner <sabre at nondot.org>:
>> On Thu, 15 Dec 2005, thean kiat sew wrote:
>>> I am planning to use list scheduling on LLVM instructions.
>>> Any recommendation on how to start ? As in which codes in LLVM that I need
>>> to look at.
>>
>> We don't currently have a list scheduler in the target-independent code
>> generator, but we do have the infrastructure needed to implement one.
>> Check out the lib/CodeGen/SelectionDAG/ScheduleDAG.cpp file.
>>
>> If you have questions about the file, Jim can help.
>>
>>> Since I am still a newbie, any readings recommended? :)
>>
>> There are several decent compiler books out there.  I believe the Muchnick
>> book (Advanced Compiler Design?) has a detailed section on scheduling.
>>
>> -Chris
>>
>> --
>> http://nondot.org/sabre/
>> http://llvm.org/
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>
>
> --
> Tzu-Chien Chiu - XGI Technology, Inc.
> URL: http://www.csie.nctu.edu.tw/~jwchiu/
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/




More information about the llvm-dev mailing list