optimization - How can I optimize LLVM assembly cross-compiled with gcc? -
i using llvm generate alpha assembly. alpha isa support experimental , cannot find way work around bug. if use -o0 during llvm bytecode-to-alpha assembly creation, assembly generated fine.
i want optimized assembly, however. there option in gcc (which final cross compiler) optimize assembly? tried -o3 while converting alpha assembly object file, did not see optimization happening. possible back-end optimization after assembly creation?
if want optimized assembly, should ask llvm it. pass -o3 llc, not gcc.
Comments
Post a Comment