[LLVMdev] Unknown or runtime type in function definition?
overminddl1 at gmail.com
Sun Apr 11 08:09:29 PDT 2010
On Sun, Apr 11, 2010 at 2:26 AM, Victor Zverovich
<victor.zverovich at googlemail.com> wrote:
>> > In that context, %1 refers to an unnamed struct; whether %1 refers to
>> > a type or a value is determined by the context. Short example which
>> > should help:
>> FWIW, I personally regard this as a bug not a feature. It doesn't make
>> the IR any easier to read.
> I also find it very confusing. It would be nice if different prefixes were
> used for names of types and values.
Why is that? In the IR there are specific places for types and
specific places for values, there is no ambiguity, so why would you
need different prefixes?
More information about the llvm-dev