diff --git a/llvm/tools/llvm-upgrade/UpgradeParser.cpp.cvs b/llvm/tools/llvm-upgrade/UpgradeParser.cpp.cvs index 9859bd486c46..602fc36b3b02 100644 --- a/llvm/tools/llvm-upgrade/UpgradeParser.cpp.cvs +++ b/llvm/tools/llvm-upgrade/UpgradeParser.cpp.cvs @@ -3772,7 +3772,7 @@ yyreduce: #line 1469 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeParser.y" { if (*(yyvsp[-5].String) == "%llvm.va_start" || *(yyvsp[-5].String) == "%llvm.va_end") { - *(yyvsp[-3].String) = "i8* "; + *(yyvsp[-3].String) = "i8*"; } else if (*(yyvsp[-5].String) == "%llvm.va_copy") { *(yyvsp[-3].String) = "i8*, i8*"; } diff --git a/llvm/tools/llvm-upgrade/UpgradeParser.y.cvs b/llvm/tools/llvm-upgrade/UpgradeParser.y.cvs index f44804e45397..2b2d1ecd521e 100644 --- a/llvm/tools/llvm-upgrade/UpgradeParser.y.cvs +++ b/llvm/tools/llvm-upgrade/UpgradeParser.y.cvs @@ -1468,7 +1468,7 @@ ArgList : ArgListH { FunctionHeaderH : OptCallingConv TypesV Name '(' ArgList ')' OptSection OptAlign { if (*$3 == "%llvm.va_start" || *$3 == "%llvm.va_end") { - *$5 = "i8* "; + *$5 = "i8*"; } else if (*$3 == "%llvm.va_copy") { *$5 = "i8*, i8*"; }