AsmParser: Don't crash on short hex constants for fp128 types
authorDavid Majnemer <david.majnemer@gmail.com>
Tue, 9 Dec 2014 19:10:03 +0000 (19:10 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Tue, 9 Dec 2014 19:10:03 +0000 (19:10 +0000)
commit0247b81ef6a48412d0fd00026f26634f30efa26c
treedf26ae92c18f0b0b3bdbcdd06d2354cab8495198
parentf700a24774bb8b8e7861de2da1135004a62fbcf3
AsmParser: Don't crash on short hex constants for fp128 types

If we see 0xL01, treat it like 0xL00000000000000000000000000000001
instead of crashing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223811 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AsmParser/LLLexer.cpp
test/Assembler/short-hexpair.ll [new file with mode: 0644]