From 64620485d027eb425700ceec4e82caa008795387 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Fri, 12 Jan 2007 20:09:48 +0000 Subject: [PATCH] Remove support for upgrading NOT. The llvm-upgrade lexer didn't recognize it either. NOT is just plain illegal now. llvm-svn: 33139 --- tools/llvm-upgrade/UpgradeParser.y | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tools/llvm-upgrade/UpgradeParser.y b/tools/llvm-upgrade/UpgradeParser.y index f6338e72926..b871b495d54 100644 --- a/tools/llvm-upgrade/UpgradeParser.y +++ b/tools/llvm-upgrade/UpgradeParser.y @@ -817,7 +817,7 @@ std::string getGlobalName(const std::string* Name, const std::string Linkage, %token DECLARE GLOBAL CONSTANT SECTION VOLATILE %token TO DOTDOTDOT CONST INTERNAL LINKONCE WEAK %token DLLIMPORT DLLEXPORT EXTERN_WEAK APPENDING -%token NOT EXTERNAL TARGET TRIPLE ENDIAN POINTERSIZE LITTLE BIG +%token EXTERNAL TARGET TRIPLE ENDIAN POINTERSIZE LITTLE BIG %token ALIGN UNINITIALIZED %token DEPLIBS CALL TAIL ASM_TOK MODULE SIDEEFFECT %token CC_TOK CCC_TOK CSRETCC_TOK FASTCC_TOK COLDCC_TOK @@ -1792,11 +1792,6 @@ InstVal : ArithmeticOps Types ValueRef ',' ValueRef { $$.type = TypeInfo::get("bool",BoolTy); delete $2; $4.destroy(); $6.destroy(); } - | NOT ResolvedVal { - $$ = $2; - $$.val->insert(0, *$1 + " "); - delete $1; - } | ShiftOps ResolvedVal ',' ResolvedVal { const char* shiftop = $1->c_str(); if (*$1 == "shr")