[LLVMdev] llvm-ld with -O params?

Simmons, Aaron asimmons at rosettastone.com
Wed Jul 22 12:14:48 PDT 2009


I'm also running into an issue with llc.  Alchemy is trying to use -march avm2 and other avm2 options, but:
llc: for the -march option: : Cannot find option named 'avm2'!
llc: Unknown command line argument '-avm2-use-memuser'.  Try: 'llc --help'
llc: Unknown command line argument '-avm2-package-name=cmodule'.  Try: 'llc --help'

Was avm2 support dropped?

From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Simmons, Aaron
Sent: Wednesday, July 22, 2009 12:57
To: llvmdev at cs.uiuc.edu
Subject: [LLVMdev] llvm-ld with -O params?

I am using LLVM via the Adobe Alchemy project.  I'm trying to upgrade LLVM within Alchemy (its v2.1 of opt is crashing), but am running into an issue with llvm-ld.  Alchemy is passing -O5 to llvm-ld, but it seems that -O params are no longer accepted by llvm-ld v2.4+ ("llvm-ld: Unknown command line argument '-O5'.  Try: 'llvm-ld --help'").

Are -O optimizations completely deprecated?  Or is there an alternate way to pass them in?



Thanks,
aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090722/40859c56/attachment.html>


More information about the llvm-dev mailing list