[LLVMdev] JVM Backend
Chris Lattner
clattner at apple.com
Thu Nov 26 13:47:51 PST 2009
On Nov 26, 2009, at 12:14 AM, David Roberts wrote:
>>> Additional patch attached, is this suitable?
>> Looks good, thanks. What's about arithmetics?
> Revised patch attached.
Hi David,
I'm not very excited about this patch. We already have a C backend and MSIL backend. Neither of those support the full generality of LLVM IR (for example, exceptions, 'weird' integers, etc) and therefore aren't reliable. I don't know of anyone using the MSIL backend and it continues to bit rot. IMO, the MSIL backend should just be removed.
Who is the expected client of this code? Will it be maintained going forward? Is it going to cover the full generality of LLVM IR constructs? How do you plan to handle unsafe IR?
-Chris
>
> --
> David Roberts
> http://da.vidr.cc/
>
>
>
> On Thu, Nov 26, 2009 at 17:08, Anton Korobeynikov
> <anton at korobeynikov.info> wrote:
>> Hello, David
>>
>>> Additional patch attached, is this suitable?
>> Looks good, thanks. What's about arithmetics?
>>
>>>> The current big question is: how you're planning to deal with
>>>> arbitrary precision stuff which might come from LLVM IR.
>>> I should be able to implement that. Would arbitrary precision support
>>> be required for the initial commit of the backend?
>> I really don't think so. But you should aware, that you can easy
>> obtain, say, i33 from C bitfields-heavy code, or i256 due to LLVM
>> optimizers.
>>
>> --
>> With best regards, Anton Korobeynikov
>> Faculty of Mathematics and Mechanics, Saint Petersburg State University
>>
> <llvm-jvm-test.patch.gz>
More information about the llvm-dev
mailing list