[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 08:51:36 PST 2017


kparzysz added a comment.

In https://reviews.llvm.org/D29110#655741, @mehdi_amini wrote:

> Adding metadata attachment to global variable is fine by itself, but at the same time it has been used in LLVM 4.0 to express *correctness* related construct: they can't any longer be ignored by the optimizer or the program may break.


I agree. Any information required for correctness is **not** metadata.


https://reviews.llvm.org/D29110





More information about the llvm-commits mailing list