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
This commit is contained in:
Chris Lattner 2007-11-18 18:25:18 +00:00
parent 8e3a8e0452
commit d343c6b70e

View File

@ -93,7 +93,7 @@ static void HexToIntPair(const char *Buffer, const char *End, uint64_t Pair[2]){
else if (C >= 'a' && C <= 'f')
Pair[1] += C-'a'+10;
}
if (*Buffer)
if (Buffer != End)
GenerateError("constant bigger than 128 bits detected!");
}