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/84f71258/attachment.html>
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>
On 2009-07-22 22:14, Simmons, Aaron wrote:> > 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? >There never was avm2 support in mainline LLVM. Best regards, --Edwin
On Jul 22, 2009, at 12:14 PM, Simmons, Aaron wrote:> 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? >AVM support was never contributed to the public tree. Alchemy must be using a patched version of LLVM. --Owen -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090722/a31f1f02/attachment.html>