[PATCH] D29110: LangRef: Document the allowed metadata dropping transforms.

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 10:57:04 PST 2017


kparzysz added a comment.

In https://reviews.llvm.org/D29110#656480, @pcc wrote:

> So would it solve the problem if we don't call it metadata? They are "attributes which happen to be represented using the MD* classes".


Would it still look like metadata to someone who has not read that piece of documentation?  Would this information invalidate previously correct understanding of the IR?

Imagine that some user somewhere wrote their own LLVM-based compiler that strips all metadata.  If that compiler generated a correct code prior to this change, would it potentially generate a wrong code afterwards?


https://reviews.llvm.org/D29110





More information about the llvm-commits mailing list