Revert "[NFC-I] Remove hack for fp-classification builtins"
authorErich Keane <erich.keane@intel.com>
Mon, 16 Dec 2019 22:01:51 +0000 (14:01 -0800)
committerErich Keane <erich.keane@intel.com>
Mon, 16 Dec 2019 22:01:51 +0000 (14:01 -0800)
commit3f22b4721e6c9859c392d9891411cbc8d9e10c70
treefbc1a133f7da1de1fabb0130bfeef809cbcc5f0a
parent38dd2d50924a3795d1ad61c7c0873632255f324a
Revert "[NFC-I] Remove hack for fp-classification builtins"

This reverts commit b1e542f302c1ed796ad9f703d4d36e010afcb914.

The original 'hack' didn't chop out fp-16 to double conversions, so
systems that use FP16ConversionIntrinsics end up in IR-CodeGen with an
i16 type isntead of a float type (like PPC64-BE).  The bots noticed
this.

Reverting until I figure out how to fix this
clang/include/clang/Basic/Builtins.def
clang/lib/Sema/SemaChecking.cpp
clang/test/Sema/builtin-fpclassification.c [deleted file]
clang/test/Sema/crash-invalid-builtin.c