Displaying 2 results from an estimated 2 matches for "semac1".
Did you mean:
vemac1
2012 Jan 19
4
[LLVMdev] What happened to "malloc" in LLVM 3.0 IR?
Hello folks,
I have a compiler written with LLVM 2.6 by a student that produces .ll files, It behaved fine at the time.
Trying to take the work over using version 3.0, I run into the problem that "malloc" in the IR is no longer valid:
semac1 menu > llvm-as Carre.ll
llvm-as: Carre.ll:68:14: error: expected instruction opcode
%_malloc = malloc i8, i32 %2 ; <i8*> [#uses=1]
^
Couldn't find any hint on the web about how to modify the code generation in this compiler to go ahead.
Thanks for yo...
2012 Jan 19
0
[LLVMdev] What happened to "malloc" in LLVM 3.0 IR?
Hi Jacques,
> I have a compiler written with LLVM 2.6 by a student that produces .ll files, It behaved fine at the time.
>
> Trying to take the work over using version 3.0, I run into the problem that "malloc" in the IR is no longer valid:
>
> semac1 menu> llvm-as Carre.ll
> llvm-as: Carre.ll:68:14: error: expected instruction opcode
> %_malloc = malloc i8, i32 %2 ;<i8*> [#uses=1]
> ^
>
> Couldn't find any hint on the web about how to modify the code generation in this compiler t...