diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-12-07 19:02:48 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-12-07 19:02:48 +0000 |
commit | d06c165bb20ab669d6f94c3207d57dcd9b5cb7ed (patch) | |
tree | a8ea551efc8eedc0bc98aa72bf0443a3f36ee733 /llvm/unittests/IR/MetadataTest.cpp | |
parent | 545a9b0f51d105041b472f8649a8179550576c72 (diff) | |
download | bcm5719-llvm-d06c165bb20ab669d6f94c3207d57dcd9b5cb7ed.tar.gz bcm5719-llvm-d06c165bb20ab669d6f94c3207d57dcd9b5cb7ed.zip |
IR: Remove reference to ENABLE_MDNODE_UNIQUING
Apparently `MDNode` uniquing used to be optional. I suppose the
configure flag must have disappeared at some point. Change the test so
it actually tests uniquing, and remove the check for
`ENABLE_MDNODE_UNIQUING`.
llvm-svn: 223617
Diffstat (limited to 'llvm/unittests/IR/MetadataTest.cpp')
-rw-r--r-- | llvm/unittests/IR/MetadataTest.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/unittests/IR/MetadataTest.cpp b/llvm/unittests/IR/MetadataTest.cpp index 4f7bd720d1c..1a6f3d2df16 100644 --- a/llvm/unittests/IR/MetadataTest.cpp +++ b/llvm/unittests/IR/MetadataTest.cpp @@ -96,11 +96,7 @@ TEST_F(MDNodeTest, Simple) { MDNode *n5 = MDNode::getIfExists(Context, c1); MDNode *n6 = MDNode::getIfExists(Context, c2); EXPECT_NE(n1, n2); -#ifdef ENABLE_MDNODE_UNIQUING EXPECT_EQ(n1, n3); -#else - (void) n3; -#endif EXPECT_EQ(n4, n1); EXPECT_EQ(n5, n2); EXPECT_EQ(n6, (Value*)nullptr); |