Skip to content

Commit 2a33b54

Browse files
committed
[VP] Solve merge conflict
1 parent ad4d221 commit 2a33b54

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

llvm/utils/TableGen/IntrinsicEmitter.cpp

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -694,22 +694,13 @@ void IntrinsicEmitter::EmitAttributes(const CodeGenIntrinsicTable &Ints,
694694
OS << LS << "Attribute::Returned";
695695
break;
696696
case CodeGenIntrinsic::VectorLength:
697-
if (addComma)
698-
OS << ",";
699-
OS << "Attribute::VectorLength";
700-
addComma = true;
697+
OS << LS << "Attribute::VectorLength";
701698
break;
702699
case CodeGenIntrinsic::Mask:
703-
if (addComma)
704-
OS << ",";
705-
OS << "Attribute::Mask";
706-
addComma = true;
700+
OS << LS << "Attribute::Mask";
707701
break;
708702
case CodeGenIntrinsic::Passthru:
709-
if (addComma)
710-
OS << ",";
711-
OS << "Attribute::Passthru";
712-
addComma = true;
703+
OS << LS << "Attribute::Passthru";
713704
break;
714705
case CodeGenIntrinsic::ReadOnly:
715706
OS << LS << "Attribute::ReadOnly";

0 commit comments

Comments
 (0)