Displaying 3 results from an estimated 3 matches for "write_merged_modul".
Did you mean:
write_merged_modules
2010 Aug 31
0
[LLVMdev] What are the optimizations that gold uses during the final link stage?
...; those optimizations are, so that I could also apply them while compiling
> per file bytecode to native code.
>
> Or am I using the wrong way to compile per file bytecode to native code?
Gold uses the libLTO interface. I think there is a small bug (strange
design?) in libLTO: lto_codegen_write_merged_modules will write the
bitcode files after they are merged and internalized, but before other
optimizations are run. We should probably change that or add a new
function to libLTO that gives us access to the optimized code.
Can someone more familiar with libLTO comment why write_merged_modules
writes th...
2010 Aug 19
2
[LLVMdev] What are the optimizations that gold uses during the final link stage?
Hi,
I am using gold plugin with the option "-use-gold-plugin
-Wl,-plugin-opt=also-emit-llvm" to compile apache.
I objdumped the final executable httpd to httpd.S.
I also compiled those per file bytecode into native code using the
following:
llc filename.o
llvm-gcc -c filename.o.s -o filename.o.o
Then I objdumped filename.o.o to filename.o.S and compared some
functions between
2010 Aug 31
2
[LLVMdev] What are the optimizations that gold uses during the final link stage?
...o that I could also apply them while compiling
>> per file bytecode to native code.
>>
>> Or am I using the wrong way to compile per file bytecode to native code?
>
> Gold uses the libLTO interface. I think there is a small bug (strange
> design?) in libLTO: lto_codegen_write_merged_modules will write the
> bitcode files after they are merged and internalized, but before other
> optimizations are run. We should probably change that or add a new
> function to libLTO that gives us access to the optimized code.
>
> Can someone more familiar with libLTO comment why write...