[PATCH] D55531: AsmParser: test .double NaN

JF Bastien via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 10 15:52:35 PST 2018


jfb created this revision.
jfb added reviewers: scanon, rjmccall.
Herald added subscribers: llvm-commits, dexonsmith, jkorous.

It looks like this support was added to match GNU AS, but only tests .float and not .double. I asked RedHat folks to confirm that 0x7fffffffffffffff was indeed the right value.


Repository:
  rL LLVM

https://reviews.llvm.org/D55531

Files:
  test/MC/AsmParser/floating-literals.s


Index: test/MC/AsmParser/floating-literals.s
===================================================================
--- test/MC/AsmParser/floating-literals.s
+++ test/MC/AsmParser/floating-literals.s
@@ -16,6 +16,9 @@
 # CHECK: .long	2147483647
 .single nAN
 
+# CHECK: .quad	9223372036854775807
+.double NaN
+
 # CHECK: .long  1067928519
 .float 1.307
         


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55531.177610.patch
Type: text/x-patch
Size: 360 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181210/86755642/attachment.bin>


More information about the llvm-commits mailing list