whitequark added a comment. @echristo What about exposing the bare key-value metadata interface? It itself can be stable, and frontends could use it before anything more specific is stabilized. http://reviews.llvm.org/D19037