[llvm-dev] !llvm.loop ID metadata clarification

Michael Kruse via llvm-dev llvm-dev at lists.llvm.org
Fri Feb 19 10:07:11 PST 2021


Am Fr., 19. Feb. 2021 um 11:44 Uhr schrieb Mehdi AMINI <joker.eph at gmail.com>:
> So this is just tech debt that can be cleaned up then? We could sweep through the code base and make it work with unique MDs?

Correct. (if by "unique MDs" you mean allowing collapsing of identical
LoopID, not making LoopIDs unique to each loop again)

>> However, it requires work to fix all the places that assumes the
>> self-reference, makes existing IR incompatible and may cause trouble
>> downstream. Hal Finkel and me found that this such a change is not
>> worth the risk.
>
> I'm happy to give it a try to clean-up the codebase and remove all this!

I would be happy to review such a patch.

Michael


More information about the llvm-dev mailing list