On Fri, Apr 3, 2015 at 1:10 PM, Jeff Law <l...@redhat.com> wrote:
> On 04/03/2015 09:41 AM, Diego Novillo wrote:
>>
>> On Fri, Apr 3, 2015 at 11:35 AM, Jeff Law <l...@redhat.com> wrote:
>> I was hesitant to offer this option, but it's certainly a good
>> starting point.  The representation encodes CFG, SSA, attributes,
>> declarations and annotations.  It has a relatively fixed syntax, which
>> makes it easy to parse.
>
>
> Certainly using LLVM's textual format opens up a significant cans of worms,
> but there's some obvious (and some less than obvious) benefits.

I also want to mention that LLVM's IR is not an equivalent of GCC's IR:
for instance, in GCC we have multi dimensional array types that are
missing in LLVM.

Having an IR that is more readable than LLVM's would be nice.

Thanks,
Sebastian

Reply via email to