arcana-lab / noelle

NOELLE Offers Empowering LLVM Extensions
MIT License
75 stars 36 forks source link

Loop ID #36

Closed edeiana closed 2 years ago

edeiana commented 2 years ago

Created a new pass that sets the ID for every loop as metadata. Created functionality to add ,set, get loop ID metadata in LoopStructure. Changed behavior of users of loop ID, since it is now an std::optional.

scampanoni commented 2 years ago

Good job Enrico and thank you for doing the work.

I have only the next two comments.

Having both addID and setID for LoopStructure is confusing. Can we have only setID with the semantics of

Why does the new module loop_id needs the headers of HELIX, DOALL, DSWP, parallelization_technique, heuristics, loop_distribution, and talkdown?

edeiana commented 2 years ago

Changes based on feedback.