summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bindings/llvm-c/add_named_metadata_operand.ll
Commit message (Collapse)AuthorAgeFilesLines
* Fix LLVMSetMetadata and LLVMAddNamedMetadataOperand for single value MDNodesBjorn Steinbrink2015-01-281-0/+2
Summary: MetadataAsValue uses a canonical format that strips the MDNode if it contains only a single constant value. This triggers an assertion when trying to cast the value to a MDNode. Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D7165 llvm-svn: 227319
OpenPOWER on IntegriCloud