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)
commitf72c663ac56e361e7b5808f64cd0c16d116db526
tree3bed2867893cfc3931f06d7743630a1e8ee2d131
parent2b8c774ce75e3b8e168889a718f8c90776ba589a
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.
llvm-svn: 277813
llvm/lib/AsmParser/LLLexer.cpp