I want to control the unroll factor using the command line flag “-force-vector-unroll”, such as "clang -mllvm -force-vector-unroll=2", but produce an error: " clang-4.0: error: unknown argument: '-force-vector-unroll=2' " . could you help me ?
Friedman, Eli via llvm-dev
2016-Dec-19 18:06 UTC
[llvm-dev] Mail from yangzhh@mail.ustc.edu.cn.
On 12/19/2016 6:29 AM, via llvm-dev wrote:> I want to control the unroll factor using the command line flag “-force-vector-unroll”, such as "clang -mllvm -force-vector-unroll=2", but produce an error: " clang-4.0: error: unknown argument: '-force-vector-unroll=2' " . could you help me ?The option got renamed to -force-vector-interleave. That said, we shouldn't be advertising -mllvm options in the first place... I'll look into updating http://llvm.org/docs/Vectorizers.html . -Eli -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
Reasonably Related Threads
- [LLVMdev] Loop Unroll a constant number of times?
- [LLVMdev] Loop unrolling opportunity in SPEC's libquantum with profile info
- [LLVMdev] Loop unrolling opportunity in SPEC's libquantum with profile info
- [LLVMdev] [llvm-commits] [PATCH] BasicBlock Autovectorization Pass
- [LLVMdev] MI scheduler produce badly code with inline function