HomePhabricator

IR: Allow multiple global metadata attachments with the same type.

Authored by pcc on May 31 2016, 6:17 PM.

Description

IR: Allow multiple global metadata attachments with the same type.

This will be necessary to allow the global merge pass to attach
multiple debug info metadata nodes to global variables once we reverse
the edge from DIGlobalVariable to GlobalVariable.

Differential Revision: http://reviews.llvm.org/D20414

llvm-svn: 271358