Xiaochu Liu via llvm-dev
2016-Aug-11 20:52 UTC
[llvm-dev] Invoke clang options in clang-cl.
Hi there, I'm trying to invoke options in clang-cl. Clang-cl -xclang -fvectorize test.cpp But it shows unknown argument: -fvectorize. I checked options.td and -xclang and -fvectorize options are there. Is there anyway we can change clang to support vector options? Thanks, Xiaochu -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160811/57bdb467/attachment.html>
Hans Wennborg via llvm-dev
2016-Aug-11 21:02 UTC
[llvm-dev] Invoke clang options in clang-cl.
On Thu, Aug 11, 2016 at 1:52 PM, Xiaochu Liu via llvm-dev <llvm-dev at lists.llvm.org> wrote:> I'm trying to invoke options in clang-cl. > > Clang-cl -xclang -fvectorize test.cpp > > But it shows unknown argument: -fvectorize. > > I checked options.td and -xclang and -fvectorize options are there. > > Is there anyway we can change clang to support vector options?The clang-cl spelling of -fvectorize is /Qvec Cheers, Hans
Xiaochu Liu via llvm-dev
2016-Aug-11 21:07 UTC
[llvm-dev] Invoke clang options in clang-cl.
Thanks! On Aug 11, 2016 2:02 PM, "Hans Wennborg" <hans at chromium.org> wrote:> On Thu, Aug 11, 2016 at 1:52 PM, Xiaochu Liu via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > I'm trying to invoke options in clang-cl. > > > > Clang-cl -xclang -fvectorize test.cpp > > > > But it shows unknown argument: -fvectorize. > > > > I checked options.td and -xclang and -fvectorize options are there. > > > > Is there anyway we can change clang to support vector options? > > The clang-cl spelling of -fvectorize is /Qvec > > Cheers, > Hans >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160811/bc8c4f30/attachment.html>