diff options
author | Chris Lattner <sabre@nondot.org> | 2007-01-12 18:33:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-01-12 18:33:30 +0000 |
commit | 0fab59c7afb52d9aa6728e179e22cff8d627840f (patch) | |
tree | 81a0abf722a353d2ffd2c65fbc345ab58037df80 /lib/AsmParser/llvmAsmParser.y.cvs | |
parent | 89282b8fe7b372ac762bbc8b524c005698e86cab (diff) | |
download | external_llvm-0fab59c7afb52d9aa6728e179e22cff8d627840f.zip external_llvm-0fab59c7afb52d9aa6728e179e22cff8d627840f.tar.gz external_llvm-0fab59c7afb52d9aa6728e179e22cff8d627840f.tar.bz2 |
regenerate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33131 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/llvmAsmParser.y.cvs')
-rw-r--r-- | lib/AsmParser/llvmAsmParser.y.cvs | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/lib/AsmParser/llvmAsmParser.y.cvs b/lib/AsmParser/llvmAsmParser.y.cvs index 57ab7c5..b84cf25 100644 --- a/lib/AsmParser/llvmAsmParser.y.cvs +++ b/lib/AsmParser/llvmAsmParser.y.cvs @@ -974,7 +974,7 @@ Module *llvm::RunVMAsmParser(const char * AsmString, Module * M) { %token DECLARE DEFINE GLOBAL CONSTANT SECTION VOLATILE %token TO DOTDOTDOT NULL_TOK UNDEF INTERNAL LINKONCE WEAK APPENDING %token DLLIMPORT DLLEXPORT EXTERN_WEAK -%token OPAQUE NOT EXTERNAL TARGET TRIPLE ENDIAN POINTERSIZE LITTLE BIG ALIGN +%token OPAQUE EXTERNAL TARGET TRIPLE ENDIAN POINTERSIZE LITTLE BIG ALIGN %token DEPLIBS CALL TAIL ASM_TOK MODULE SIDEEFFECT %token CC_TOK CCC_TOK CSRETCC_TOK FASTCC_TOK COLDCC_TOK %token X86_STDCALLCC_TOK X86_FASTCALLCC_TOK @@ -2611,19 +2611,6 @@ InstVal : ArithmeticOps Types ValueRef ',' ValueRef { if ($$ == 0) GEN_ERROR("fcmp operator returned null!"); } - | NOT ResolvedVal { - cerr << "WARNING: Use of eliminated 'not' instruction:" - << " Replacing with 'xor'.\n"; - - Value *Ones = ConstantInt::getAllOnesValue($2->getType()); - if (Ones == 0) - GEN_ERROR("Expected integral type for not instruction!"); - - $$ = BinaryOperator::create(Instruction::Xor, $2, Ones); - if ($$ == 0) - GEN_ERROR("Could not create a xor instruction!"); - CHECK_FOR_ERROR - } | ShiftOps ResolvedVal ',' ResolvedVal { if ($4->getType() != Type::Int8Ty) GEN_ERROR("Shift amount must be i8 type!"); |