Loop fusion in llvm polly

Hi all,

We are trying for loop fusion on nested loops. Firstly trying with -mllvm -polly-opt-fusion=max and simple -mllvm -polly flag, is this the way to do loop fusion in polly or some other flags or pragmas are available for loop transformation from polly side. Please guide.

Also point to note that the nested loops have vector intrinsics and there are non affine expressions.