question about the loop carried dependences routine in machine pipeliner

Hi there!

Greetings!

This is regarding the addLoopCarriedDependences function in the MachinePipeliner:
https://github.com/llvm/llvm-project/blob/master/llvm/lib/CodeGen/MachinePipeliner.cpp
SwingSchedulerDAG::addLoopCarriedDependences(AliasAnalysis *AA)

What are the thoughts about attempts to refine this step (I am thinking about skipping LCDs when possible, for instance if parallel_accesses metadata is available)?

https://llvm.org/docs/LangRef.html#llvm-loop-parallel-accesses-metadata

Please let me know if there are such attempts being worked out currently.

Best,

Ram