[LLVMdev] Possible missed optimization? 2.0

Jakob Stoklund Olesen stoklund at 2pi.dk
Mon Sep 13 11:38:58 PDT 2010


On Sep 11, 2010, at 10:02 AM, Borja Ferrer wrote:

> Hello Jakob, i've been trying different things like adding customized code for the multiplication instruction instead of letting LLVM expand it however it produced exactly the same code in all the alternatives i tested.
> Please let me know when you have time if there's a way to improve the emitted code or if it's a missed optimization. I dont know in which other ways i could improve this since it's so basic code.

I gave you some pointers to get you started on your own analysis of this. Take a look at the DAGs and the scheduling.

I don't want to take away this opportunity for you to learn more about how the LLVM code generator works.

/jakob





More information about the llvm-dev mailing list