[LLVMdev] Sub-Register Allocation

Kenneth Waters kwwaters at gmail.com
Fri Jan 11 18:39:43 PST 2013


> LLVM's register coalescer and allocator don't try to reschedule
> instructions, which seems to be required here.
>

I think you're right.  Looking at the instruction schedules before register
allocation, shows that it's scheduling the load before the zero move in one
case but not the other.

Is there an easy way I can trick the scheduler into putting these in the
right order?  Perhaps by adding a scheduling dependency between the move
and the load?

Thank you,
-- Kenneth Waters
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130111/0e7dff2f/attachment.html>


More information about the llvm-dev mailing list