[LLVMdev] Hint about how to contribute to LLVM

David A. Greene
2011-10-11T21:36:54Z

Alex Garzao <alexgarzaol at gmail.com> writes:

> Looking at http://llvm.org/OpenProjects.html, one point seems interesting:
>
> "Miscellaneous Improvements. Move more optimizations out of the
> -instcombine pass and into InstructionSimplify. The optimizations that
> should be moved are those that do not create new instructions, for
> example turning sub i32 %x, 0 into %x. Many passes use
> InstructionSimplify to clean up code as they go, so making it smarter
> can result in improvements all over the place.".
>
> For a newbie, what is the complexity of this task? Someone would
> suggest other tasks?

I think this is a pretty good place to start.  The transformations are
simple and it should be fairly mechanical.  It should be a good
introduction to the target-independent optimizer.

It would also help a lot!

                               -Dave