Hi.
I faced that "llvm.vectorizer.enable" metadata used by Loop Vectorizer and set by OpenMP pragmas are killed after the "Rotate Loop" pass. The branch containing the metadata is replaced with another one, but without any metadata.
So "Loop Vectorizer" won't force vectorization of this loop.
I fixed it by storing the loop metadata in the begining of LoopRotate pass and then restoring it just before return from the pass.
I also added a test for it. It checks that LoopVectorize sees "llvm.vectorizer.enable" metadata.