<div dir="ltr"><span style="font-size:12.8000001907349px">Hello,</span><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I have a couple of C/C++ programs I want to analyze/modify with a Loop pass, and I want to find the loops free of loop-carried dependences.</div><div style="font-size:12.8000001907349px">The parallel loops are annotated with the OpenMP #pragma omp parallel for directive, but OpenMP will not be used, just single-threaded execution. I can also manually annotate/tag the source code if that would help, the important part is that the pass automatically can determine whether the loop is annotated parallel or not.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I've seen a few interesting options that might (or might not) solve my problem.</div><div style="font-size:12.8000001907349px">- llvm.mem.parallel metadata ?</div><div style="font-size:12.8000001907349px">- annotate intrinsics/attributes ?</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">What would the simplest way to do this?</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Thank you!</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Alex</div></div>