mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-04 03:17:51 +00:00
Update unittests for MDNode uniquing disable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81142 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d34b0b1cda
commit
7b26b581cf
@ -85,7 +85,11 @@ TEST(MDNodeTest, Simple) {
|
||||
MDNode *n2 = MDNode::get(Context, &c1, 1);
|
||||
MDNode *n3 = MDNode::get(Context, &V[0], 3);
|
||||
EXPECT_NE(n1, n2);
|
||||
#ifdef ENABLE_MDNODE_UNIQUING
|
||||
EXPECT_EQ(n1, n3);
|
||||
#else
|
||||
(void) n3;
|
||||
#endif
|
||||
|
||||
EXPECT_EQ(3u, n1->getNumElements());
|
||||
EXPECT_EQ(s1, n1->getElement(0));
|
||||
|
Loading…
x
Reference in New Issue
Block a user