Closed aejjehint closed 2 months ago
while LLVM passes are aware of llvm.loop metadata and even try to preserve it if possible/makes sense, what is the plan for the new metadata?
@MrSidims Like any other metadata, these metadata should be safe to be dropped if not understood. Otherwise, it would be a case by case basis depending on the loop control and whether it needs to be handled by community passes or not.
I added a statement that explains that this approach can only be used for loop controls that are not "strict requirements" and that would be acceptable to get dropped, which as I understand is the case for all current loop controls.
@svenvh @bashbaug can you please provide your review at your earliest convenience? Thanks!
Add section about loop controls