llvm/test/Assembler/short-hexpair.ll
David Majnemer 0247b81ef6 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
2014-12-09 19:10:03 +00:00

5 lines
134 B
LLVM

; RUN: llvm-as < %s | llvm-dis | FileCheck %s
@x = global fp128 0xL01
; CHECK: @x = global fp128 0xL00000000000000000000000000000001