[LLVMdev] Making LLVM safer in out-of-memory situations

Filip Pizlo fpizlo at apple.com
Thu Dec 12 11:31:26 PST 2013


On Dec 12, 2013, at 4:25 AM, Gasiunas, Vaidas <vaidas.gasiunas at sap.com> wrote:

> Hello,
> 
> Philipp Becker and me, Vaidas Gasiunas, are developers at SAP and part of a team developing a C-like domain-specific language for the SAP HANA in-memory database. We use LLVM as a backend to translate our language to native code, primarily on x86-64 platforms. Our programs are created dynamically, compiled and optimized in a running database. As a result of that we have special requirements with respect to response time and safety. In particular, we have to avoid long compile times and must deal with error situations like out-of-memory without crashing or producing memory leaks in the compiler. The compiler performance is especially important since that we must compile generated functions which tend to be rather long - in the range of thousands of LOC per function. 
> 
> To address these requirements we have developed a set of patches improving performance and malfunction safety of certain compiler passes and would be interested in contributing them at some point. Before proposing concrete changes, we would like to know what the general interest is with respect to making LLVM safer in out-of-memory situations. 

This sounds pretty awesome to me!

I'm looking forward to seeing what y'all came up with.

-Filip

> 
> Best Regards,
> Vaidas Gasiunas
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131212/c7174ae2/attachment.html>


More information about the llvm-dev mailing list