[LLVMdev] Missing some passes in llvm-ld
Haohui Mai
haohui.mai at gmail.com
Wed Jan 26 16:21:34 PST 2011
Hi All,
It seems that I can't force some passes to run in llvm-ld as what I can do with opt.
$ ~/opt/bin/llvm-ld -reassociate
llvm-ld: Unknown command line argument '-reassociate. Try: 'opt/bin/llvm-ld -help'
llvm-ld definitely linked with scalaropts, and RegisterPass<ReassociatePass> is in the library.
Running with these passes with opt definitely work, but it'll take some time as my .bc is big (~40M).
I'll appreciate any ideas how to make llvm-ld run these passes.
Thanks.
Cheers,
Haohui
More information about the llvm-dev
mailing list