From: Duncan P. N. Exon Smith Date: Sun, 7 Dec 2014 19:02:48 +0000 (+0000) Subject: IR: Remove reference to ENABLE_MDNODE_UNIQUING X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6bb158dd344e201f8f3b0bee48997d29f63106d9;p=oota-llvm.git 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`. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223617 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/IR/MetadataTest.cpp b/unittests/IR/MetadataTest.cpp index 4f7bd720d1c..1a6f3d2df16 100644 --- a/unittests/IR/MetadataTest.cpp +++ b/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);