Add a unit test to verifies that attribute uniquing works so it doesn't break again.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 12 Jan 2013 14:13:45 +0000 (14:13 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 12 Jan 2013 14:13:45 +0000 (14:13 +0000)
commit8591fa38e6bcd77344df0ab7c0de0efa90bb12cd
tree0289554390a4cbf09068a39fda57f3fb2407e704
parent7aa3080a857010969fcad3c24e124fd0a0f318eb
Add a unit test to verifies that attribute uniquing works so it doesn't break again.

The folding set details can be subtle and broke twice in the last couple of weeks.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172313 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/IR/AttributesTest.cpp [new file with mode: 0644]
unittests/IR/CMakeLists.txt