Hello, I'm working on a project to remove unnecessary array bound checks in Java. For this purpose I will need to use llvm-java. What is the state of llvm-java? Can someone explain how to build and use it? I saw some old emails on the list, and some about a SoC 2008 on Java, but I didn't find anything regarding its current state and documentation. Regards, -- Andre Tavares Master Student in Computer Science - UFMG - Brasil http://dcc.ufmg.br/~andrelct
Hello, LLVM-Java has been rendered obsolete by http://vmkit.llvm.org/ so look into using VMKit instead. --Sam ----- Original Message ----> From: Andre Tavares <andrelct at dcc.ufmg.br> > To: LLVMdev at cs.uiuc.edu > Sent: Monday, May 18, 2009 10:09:42 AM > Subject: [LLVMdev] llvm-java > > Hello, > > I'm working on a project to remove unnecessary array bound checks in > Java. For this purpose I will need to use llvm-java. > > What is the state of llvm-java? Can someone explain how to build and use it? > > I saw some old emails on the list, and some about a SoC 2008 on Java, > but I didn't find anything regarding its current state and documentation. > > Regards, > > -- > Andre Tavares > Master Student in Computer Science - UFMG - Brasil > http://dcc.ufmg.br/~andrelct > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Samuel Crow wrote:> Hello, > > LLVM-Java has been rendered obsolete by http://vmkit.llvm.org/ so look into using VMKit instead. > > --Sam > > > > ----- Original Message ---- > >> From: Andre Tavares <andrelct at dcc.ufmg.br> >> To: LLVMdev at cs.uiuc.edu >> Sent: Monday, May 18, 2009 10:09:42 AM >> Subject: [LLVMdev] llvm-java >> >> Hello, >> >> I'm working on a project to remove unnecessary array bound checks in >> Java. For this purpose I will need to use llvm-java. >> >> What is the state of llvm-java? Can someone explain how to build and use it? >> >> I saw some old emails on the list, and some about a SoC 2008 on Java, >> but I didn't find anything regarding its current state and documentation. >> >> Regards, >> >> -- >> Andre Tavares >> Master Student in Computer Science - UFMG - Brasil >> http://dcc.ufmg.br/~andrelct >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >> > > > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >Thanks Samuel I will look it. -- Andre Tavares Master Student in Computer Science - UFMG - Brasil http://dcc.ufmg.br/~andrelct
Samuel Crow wrote:>> From: Andre Tavares <andrelct at dcc.ufmg.br>>> I'm working on a project to remove unnecessary array bound checks in >> Java. For this purpose I will need to use llvm-java. >> >> What is the state of llvm-java? Can someone explain how to build and use it? >> >> I saw some old emails on the list, and some about a SoC 2008 on Java, >> but I didn't find anything regarding its current state and documentation.> LLVM-Java has been rendered obsolete by http://vmkit.llvm.org/ so look into using VMKit instead.Also, if you can make the capability generic enough to use in Shark (more at http://gbenson.net/) that would be very useful. The key, I suspect, is to allow the Java front end mark an array.length field in such a way that LLVM knows that field doesn't alias anything else and is constant, so it can be hoisted out of loops. Andrew.
Hello, Andre> I'm working on a project to remove unnecessary array bound checks in > Java. For this purpose I will need to use llvm-java.Why? Why don't use vmkit for this?> What is the state of llvm-java? Can someone explain how to build and use it?It's dead and unmaintained for years. Most probably nobody will be able to run it without major rewrite. -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University.
Hi Andre,> I'm working on a project to remove unnecessary array bound checks in > Java. For this purpose I will need to use llvm-java. > > What is the state of llvm-java? Can someone explain how to build and use it? > > I saw some old emails on the list, and some about a SoC 2008 on Java, > but I didn't find anything regarding its current state and documentation.I have a much better idea: work on removing unnecessary array bound checks in Ada. Who cares about this java thing anyway?! Seriously though, while of course it is important to work on java, may I humbly request that you also look at the llvm-gcc Ada front-end. Ada, like Pascal (which it derives from) does bound checking on all array accesses and does many other runtime checks too. As such it should be a good test for any such pass. It's not particularly hard to build llvm-gcc with Ada support if you are using x86-32 linux, see http://llvm.org/docs/GCCFEBuildInstrs.html Even better, llvm-gcc comes with the complete Ada ACATS testsuite, so after building all you have to do is change into the gcc subdirectory and do: make -k check-acats Ciao, Duncan.
Hi Andre, Andre Tavares wrote:> Hello, > > I'm working on a project to remove unnecessary array bound checks in > Java. For this purpose I will need to use llvm-java. > > What is the state of llvm-java? Can someone explain how to build and use it? > >llvm-java won't compile with current versions of LLVM. Instead, you could use VMKit (http://vmkit.llvm.org). Cheers, Nicolas