How to access automatic vectorization messages in LLVM / Xcode 5?

Xcode 5 has the ability to enable auto-synthesis in the Apple LLVM 5.0 compiler. But how can I determine if a given loop has been successfully indexed?

Using gcc from the command line, I can set the -ftree-vectorizer-verbose flag and get some (supposedly annoyingly cryptic) messages whenever the loop failed to draw, but using this new Xcode option my code simply compiles with "no issues" , and I can’t say if my loops were vectorized or not.

Of course, I had a profile to see if there was a difference in speed, but actually my concern is to know that any given inner loop has not been vectorized, so that I can try to change it to what will be .

So, is there any way in Xcode to set LLVM verbosity to the level at which it will report vectorization, or is there some other way to get Xcode to tell me when the loop was not vectorized, and what is the reason if it isn't?

I am compiling C ++ for OS X, if that matters.

+4
c ++ vectorization xcode llvm
source share

No one has answered this question yet.

See similar questions:

8
Is there a way to show where LLVM is an automatic vectorization?

or similar:

1348
How to "add existing frames" in Xcode 4?
981
How to download Xcode DMG or XIP file?
576
How can I highlight multiple lines in Xcode?
400
Why does GCC generate code 15-20% faster if I optimize size instead of speed?
87
LLVM C ++ IDE for Windows
6
Xcode 4.5 and OpenMP with Clang (Apple LLVM) uses only one core
4
Use gcc 4.2 in Xcode 4.2 and iOS SDK 5.0
4
What do gcc auto-vectorize messages mean?
0
simple loop: vectorization with gcc
0
Xcode5 uses gcc48 even if the default llvm 5.0 option is selected

All Articles