[LLVMdev] How to get debug dump of candidate pairs selected in BBVectorizer?

Karthik Bhat blitz.opensource at gmail.com
Thu Apr 24 04:23:15 PDT 2014


Hi All,
I'm trying to understand BB Vectorizer and gone through
http://llvm.org/devmtg/2012-04-12/Slides/Hal_Finkel.pdf

Wanted to know how to use bb-vectorize-debug-candidate-selection and
bb-vectorize-debug-pair-selection
command arguments.

I tried the command with debug build clang -

clang -O2 test.c -mllvm -vectorize \
-mllvm -debug-only=bb-vectorize \
-mllvm -bb-vectorize-debug-pair-selection \
-mllvm -bb-vectorize-debug-candidate-selection

as mentioned in http://llvm.org/bugs/show_bug.cgi?id=11973 but it
doesnt seem to dump the candidate pair info as shown in bug id.


Could someone help me out here with the command line argument to get
candidate pair selected info.

Thanks for the help!

Regards

Karthik Bhat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140424/f1c5b91b/attachment.html>


More information about the llvm-dev mailing list