WebAssembly: simply assert on SNaN and NaNs with payloads
authorJF Bastien <jfb@google.com>
Tue, 11 Aug 2015 00:49:20 +0000 (00:49 +0000)
committerJF Bastien <jfb@google.com>
Tue, 11 Aug 2015 00:49:20 +0000 (00:49 +0000)
commitd01f7fced4fb83830acdc1e3e575af0c92c9773a
tree536a0b350fbf1f77878348d8005178f74fafc66b
parentef5b3ab5953a5c6b072939381a0d6def3565f362
WebAssembly: simply assert on SNaN and NaNs with payloads

Summary: convertToHexString doesn't represent them correctly at this point in time. This is a follow-up to sunfish's suggestion in D11914.

Subscribers: llvm-commits, sunfish, jfb

Differential Revision: http://reviews.llvm.org/D11925

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244551 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
test/CodeGen/WebAssembly/immediates.ll