But this made no difference (I need to double check).
What is the correct way to disable vectorization passes?
Robert
Nadav Rotem
unread,
Aug 23, 2013, 2:00:36 PM8/23/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Robert Lytton, llv...@cs.uiuc.edu
Hi Robert,
The best way is to push “-vectorize-loops=false”. You can look at PassManagerBuilder.cpp in LLVM to see the flag. You can also run "clang -###” to see which flags the compiler driver passes. Setting the register number will only influence the unroll-factor of the vectorized code. You would also want to vectorize the SLP-vectorizer in a similar way.