[LLVMdev] LLVM IR vectorized with opt but not through the API
Matthieu Dubet
maattdd at gmail.com
Tue Nov 5 09:39:58 PST 2013
Hi,
I have a simple LLVM code which loop over an array and do a simple
calculation, the bytecode is here : https://gist.github.com/maattd/7322927
This code is correctly vectorized with LLVM opt 3.3, however I can't get it
to vectorize with call through the API.
Is there a way to debug the LLVM vectorizer pass with the API ?
Is there a way to just apply the exact same optimization passes as the opt
tool ? I've tried llvm::CodeGenOpt::Aggressive but it doesn't vectorize it
neither.
Thanks,
Matthieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131105/6954e1d4/attachment.html>
More information about the llvm-dev
mailing list