Author: lattner
Date: Sun Nov 18 12:25:18 2007
New Revision: 44215
URL: http://llvm.org/viewvc/llvm-project?rev=44215&view=rev
Log:
Bugfix, this fixes CodeGen/X86/ldzero.ll and
CodeGen/X86/2007-10-16-fp80_select.ll
Modified:
llvm/trunk/lib/AsmParser/LLLexer.cpp
Modified: llvm/trunk/lib/AsmParser/LLLexer.cpp
URL:
http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/LLLexer.cpp?rev=44215&r1=44214&r2=44215&view=diff
==============================================================================
--- llvm/trunk/lib/AsmParser/LLLexer.cpp (original)
+++ llvm/trunk/lib/AsmParser/LLLexer.cpp Sun Nov 18 12:25:18 2007
@@ -93,7 +93,7 @@
else if (C >= 'a' && C <= 'f')
Pair[1] += C-'a'+10;
}
- if (*Buffer)
+ if (Buffer != End)
GenerateError("constant bigger than 128 bits detected!");
}
_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits