Bugfix, this fixes CodeGen/X86/ldzero.ll and CodeGen/X86/2007-10-16-fp80_select.ll



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44215 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AsmParser/LLLexer.cpp b/lib/AsmParser/LLLexer.cpp
index 310ea5b..25b532f 100644
--- a/lib/AsmParser/LLLexer.cpp
+++ b/lib/AsmParser/LLLexer.cpp
@@ -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!");
 }