parent
00dbc2a7d3
commit
dbcff30bd1
|
@ -2908,10 +2908,7 @@ bool LLParser::ParseMDTuple(MDNode *&MD, bool IsDistinct) {
|
||||||
if (ParseMDNodeVector(Elts))
|
if (ParseMDNodeVector(Elts))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (IsDistinct)
|
MD = (IsDistinct ? MDNode::getDistinct : MDNode::get)(Context, Elts);
|
||||||
MD = MDNode::getDistinct(Context, Elts);
|
|
||||||
else
|
|
||||||
MD = MDNode::get(Context, Elts);
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue