summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-11-18 18:25:18 +0000
committerChris Lattner <sabre@nondot.org>2007-11-18 18:25:18 +0000
commitc3cc30cdb8acbde4956292b1b6f8eff4df55b9e8 (patch)
treebef9b9c4f7bfb23fc18f7303d4adc783339d0220 /llvm/lib
parent660c6b9a92f9102c2ff235698882df57768d365e (diff)
downloadbcm5719-llvm-c3cc30cdb8acbde4956292b1b6f8eff4df55b9e8.tar.gz
bcm5719-llvm-c3cc30cdb8acbde4956292b1b6f8eff4df55b9e8.zip
Bugfix, this fixes CodeGen/X86/ldzero.ll and CodeGen/X86/2007-10-16-fp80_select.ll
llvm-svn: 44215
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/AsmParser/LLLexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/LLLexer.cpp b/llvm/lib/AsmParser/LLLexer.cpp
index 310ea5b052a..25b532fb7b6 100644
--- a/llvm/lib/AsmParser/LLLexer.cpp
+++ b/llvm/lib/AsmParser/LLLexer.cpp
@@ -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!");
}
OpenPOWER on IntegriCloud