[CodeGen] add test for NAN creation; NFC
authorSanjay Patel <spatel@rotateright.com>
Wed, 30 Sep 2020 17:18:42 +0000 (13:18 -0400)
committerSanjay Patel <spatel@rotateright.com>
Wed, 30 Sep 2020 17:22:12 +0000 (13:22 -0400)
commit187686bea3878c0bf2b150d784e7eab223434e25
treeb3af6a84f09d74fbb0b404771eced6f6380773ce
parent8d8cb1ad80b7074ac60d070fae89261894d34a0d
[CodeGen] add test for NAN creation; NFC

This goes with the APFloat change proposed in
D88238.
This is copied from the MIPS-specific test in
builtin-nan-legacy.c to verify that the normal
behavior is correct on other targets without the
complication of an inverted quiet bit.
clang/test/CodeGen/builtin-nan-exception.c [new file with mode: 0644]