[LLVMbugs] ERROR: Source to source transformation of LLVM

Duncan Sands baldrick at free.fr
Fri Jan 8 00:30:32 PST 2010


Hi Shengmei,

>          I use llvm to do the source to source transformation of SPEC 
> CPU2000.
> 
> The problems occur when doing the source to source transformation. I 
> listed some error messages as follows.

no-one seems very interested in maintaining the C backend (CBE), which is why
it is not as capable as you might wish.

> 1. 164.gzip
> 
> LLVM ERROR: The C backend does not currently support integer types of 
> widths other than 1, 8, 16, 32, 64.
> 
> This is being tracked as PR 4158.

I think it would be pretty easy to teach the CBE to handle arbitrary precision
loads, stores, truncations, extensions and shifts.  This would already improve
the situation a lot.

> 2. 253.perlbmk
> 
> MD5.c...
> 
> In file included from perl.h:1276,
> 
>                  from MD5.c:28:
> 
> cop.h:217: error: expected specifier-qualifier-list before 'bool'

Please open a bug report with a reduced testcase.

> 
> 3. 255.gap
> 
> oa1.c: In function 'OaCompare':
> 
> oa1.c:1714: error: duplicate case value
> 
> oa1.c:1705: error: previously used here

Please open a bug report with a reduced testcase.

Best wishes,

Duncan.



More information about the llvm-bugs mailing list