OSDN Git Service

LLLexer.cpp: Avoid using BitsToDouble() to preserve SNaN like "double 0x7FF4000000000...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 5 Aug 2016 11:59:49 +0000 (11:59 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 5 Aug 2016 11:59:49 +0000 (11:59 +0000)
commitd55759c8bcacb473049d88a314df67c040a252c3
treebeab9b4ebb48428008cdce70c2ce1a533d835e77
parenteb34f4453f9c27c92d167e8ecc8b21fc0d7e21b0
LLLexer.cpp: Avoid using BitsToDouble() to preserve SNaN like "double 0x7FF4000000000000".

We should not use double (or float) in the LLVM, unless it is really needed. x87 FP register doesn't preserve SNaN to move the value.

FIXME: APFloat() may have the constructor by raw bit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277813 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AsmParser/LLLexer.cpp