[LLVMdev] loop metdata instruction
Redmond, Paul
paul.redmond at intel.com
Mon Feb 25 12:08:44 PST 2013
Hi,
I've been looking through past threads looking for an answer to why the loop metadata is attached to the loop latch branch. What is the reason for putting the metadata inside the loop rather than outside (for example on the branch into the loop header.) Note that I'm asking about llvm.loop.parallel not llvm.mem.parallel_loop_access which obviously must be inside the loop.
It seems that if the metadata is attached outside of the loop it is less likely that the metadata will be lost during loop transformations.
paul
More information about the llvm-dev
mailing list