[PATCH] D27830: Preserve loop metadata when folding branches to a common destination

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 15 16:10:45 PST 2016

fhahn added a comment.

Moving the loop metadata to the new latch looks good to me and I think it's a great idea to preserve it as best as we can. I'm reluctant to accept the revision only because I'm fairly new to LLVM and my experience with SimplifyCFG.cpp is rather limited.

@danielcdh the language ref provides a good overview over the information contained in MD_Loop (http://llvm.org/docs/LangRef.html#llvm-loop)


More information about the llvm-commits mailing list