search for: ir_before_loop_vector

Displaying 2 results from an estimated 2 matches for "ir_before_loop_vector".

2015 May 02
5
[LLVMdev] Modifying LoopUnrollingPass
Hi Zhoulai, I am trying to modify "LoopUnrollPass" in llvm which produces multiple copies of loop equal to the loop unroll factor.Currently, using multicore architecture, say 3 for example and the execution goes like: for 3 cores if there are 9 iterations of loop core instruction 1 0,3,6 2 1,4,7 3 2,5,8 But I want to to
2015 May 04
2
[LLVMdev] Modifying LoopUnrollingPass
...0" > - that allows us to run analysis passes, but not transformations) > > Now you run 'opt' with passes preceding the vectorizer to get IR before > vectorization: > opt -targetlibinfo -tti -no-aa -tbaa ...... -scalar-evolution -loop-accesses > unoptimized_ir.ll -S -o ir_before_loop_vectorize.ll > (you might want to remove verifier passes from the list) > > And after this you are ready to run the vectorizer: > opt -loop-vectorize ir_before_loop_vectorize.ll -S -o > ir_after_loop_vectorize.ll > > Hopefully, that'll resolve the issues you are facing. > >...