[PATCH] [BUG] "Rotate Loop" pass kills "llvm.vectorizer.enable" metadata

Tyler Nowicki tnowicki at apple.com
Fri Apr 18 13:21:53 PDT 2014


Hi Zinovy,

I have a question about your test case. Did you manually add the “llvm.vectorizer.enable” metadata to the IR in Test #1? Or does clang automatically generate the when #pragma omp simd is specified?

Thanks,

Tyler


On Apr 14, 2014, at 5:50 AM, Zinovy Nis <zinovy.nis at gmail.com> wrote:

>  My new patch fixes the issue kindly pointed by Alexander M.
> 
>  Please re-review it again.
> 
> Hi atrick, hfinkel, amusman, ABataev, nadav, chandlerc,
> 
> http://reviews.llvm.org/D3348
> 
> CHANGE SINCE LAST DIFF
>  http://reviews.llvm.org/D3348?vs=8464&id=8508#toc
> 
> Files:
>  lib/Transforms/Scalar/LoopRotation.cpp
>  lib/Transforms/Vectorize/LoopVectorize.cpp
>  test/Transforms/LoopVectorize/vect.omp.persistence.ll
> <D3348.2.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list