Displaying 2 results from an estimated 2 matches for "bzip2_o3".
2014 Jul 15
3
[LLVMdev] Does LLVM 3.5 works with IR from LLVM 3.0?
Hi,
I have some IR files which can be compiled using llc-3.0 and gcc-4.6.3. I
want to instrument these IR files. My instrumentation pass is implemented
under LLVM-3.5 and some data structures in LLVM-3.5 are not available on
LLVM-3.0, such as *AttributeSet* in *Attribute.h*. I tried to compile my
instrumentation pass under LLVM-3.0 and it failed due to missing data
types. So I am asking whether
2014 Jul 15
3
[LLVMdev] Does LLVM 3.5 works with IR from LLVM 3.0?
...t. newfile.bc can be compiled to
binary but cannot run.
I also tried to this:
*llvm-dis-3.0 -f -o - file.bc | llvm-as-3.5 -f -o newfile.bcllvm-dis-3.5 -f
-o newfile.bc | llvm-as-3.0 -o newnewfile.bc*
llvm-as-3.0 fails and give errors as below:
llvm-as:
/home/jun/New_SecondWrite_Output/benchmarks/bzip2_O3/bzip2_O3-3.5.ll:43:37:
error: expected top-level entity
declare void @perror(i8* nocapture) #0
So it seems llvm3.5 indeed is incompatible with llvm3.0.
>
> Regards,
>
> John Criswell
>
>
> Thanks!
> Gaoyao
>
>
> _______________________________________________
>...