Don't add the 'Value' string if there isn't one.
authorBill Wendling <isanbard@gmail.com>
Thu, 28 Feb 2013 21:17:03 +0000 (21:17 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 28 Feb 2013 21:17:03 +0000 (21:17 +0000)
commit40c81fe501ac99ff3f3ec004ce9e5a526d07e441
tree1c7f35a88f1369569489e7726c27cbfa32ee73af
parentc5a4c25b8780434a00968ed93634974a0b796a06
Don't add the 'Value' string if there isn't one.

This was causing the folding set to fail to fold attributes, because it was
being calculated in one spot without an empty values string but here with an
empty values string.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176301 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/AttributeImpl.h