IR: Swap order of name and value in MDEnum
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 18 Feb 2015 21:16:33 +0000 (21:16 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 18 Feb 2015 21:16:33 +0000 (21:16 +0000)
commitb5026b0b839c5a261bf1a21cd9e1a4895c6a271d
tree06672f10a03e6c59b1d8b0323081c725fe934086
parent668aca9b4a6f2c09c5f798beccdb35485c7005bd
IR: Swap order of name and value in MDEnum

Put the name before the value in assembly for `MDEnum`.  While working
on the testcase upgrade script for the new hierarchy, I noticed that it
"looks nicer" to have the name first, since it lines the names up in the
(somewhat typical) case that they have a common prefix.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229747 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AsmParser/LLParser.cpp
lib/IR/AsmWriter.cpp
test/Assembler/debug-info.ll