Charlie Garrett
2011-Mar-09 06:16 UTC
[LLVMdev] Is InstructionSimplify still a good place to contribute?
I'm looking for some opportunities to contribute to the LLVM core without too big of a learning curve. The open projects page<http://llvm.org/OpenProjects.html#misc_imp>suggests moving logic from the instruction combining transformation to the InstructionSimplify analysis. But it looks like some work has been done there since the projects page was last edited. Is there more benefit to be gained? Thanks, -- Charlie Garrett -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110308/eb27bda3/attachment.html>
Duncan Sands
2011-Mar-09 08:04 UTC
[LLVMdev] Is InstructionSimplify still a good place to contribute?
Hi Charlie,> I'm looking for some opportunities to contribute to the LLVM core without too > big of a learning curve. The open projects page > <http://llvm.org/OpenProjects.html#misc_imp> suggests moving logic from the > instruction combining transformation to the InstructionSimplify analysis. But > it looks like some work has been done there since the projects page was last > edited. Is there more benefit to be gained?yes. InstSimplify is for transforms that do not create new instructions, for example X-(X-Y) can be simplified to Y by instsimplify because Y was already present. On the other hand X-(X+Y) cannot be simplified to -Y by instsimplify because it would have to create -Y as it wasn't present in the original expression. If you start looking through instcombine you should quickly find some transforms that can be moved to instsimplify. Sometimes entire transforms cannot be moved, but special cases of the transform can be. Of course a lot of important transforms were moved already. Ciao, Duncan.
Apparently Analagous Threads
- [LLVMdev] [llvm-commits] [llvm] r123754 - in /llvm/trunk: lib/Analysis/InstructionSimplify.cpp test/Transforms/InstSimplify/2010-12-20-Distribute.ll
- [LLVMdev] Hint about how to contribute to LLVM
- [LLVMdev] Simplifying selects + arm stuff
- Hitting assertion failure related to vectorization + instcombine
- Hitting assertion failure related to vectorization + instcombine