Revert @llvm.isnan intrinsic patchset.
authorRoman Lebedev <lebedev.ri@gmail.com>
Thu, 2 Sep 2021 10:03:31 +0000 (13:03 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Thu, 2 Sep 2021 10:53:56 +0000 (13:53 +0300)
commit3f1f08f0ed6aa1ebd4678583cbbf5026ca5cbdf8
tree76b4483e3f6ecd6f7f1b57c540baa3f1e94ed39a
parent9722e8ff9eab9ec9c0d8fc0008fd368f93210ba5
Revert @llvm.isnan intrinsic patchset.

Please refer to
https://lists.llvm.org/pipermail/llvm-dev/2021-September/152440.html
(and that whole thread.)

TLDR: the original patch had no prior RFC, yet it had some changes that
really need a proper RFC discussion. It won't be productive to discuss
such an RFC, once it's actually posted, while said patch is already
committed, because that introduces bias towards already-committed stuff,
and the tree is potentially in broken state meanwhile.

While the end result of discussion may lead back to the current design,
it may also not lead to the current design.

Therefore i take it upon myself
to revert the tree back to last known good state.

This reverts commit 4c4093e6e39fe6601f9c95a95a6bc242ef648cd5.
This reverts commit 0a2b1ba33ae6dcaedb81417f7c4cc714f72a5968.
This reverts commit d9873711cb03ac7aedcaadcba42f82c66e962e6e.
This reverts commit 791006fb8c6fff4f33c33cb513a96b1d3f94c767.
This reverts commit c22b64ef66f7518abb6f022fcdfd86d16c764caf.
This reverts commit 72ebcd3198327da12804305bda13d9b7088772a8.
This reverts commit 5fa6039a5fc1b6392a3c9a3326a76604e0cb1001.
This reverts commit 9efda541bfbd145de90f7db38d935db6246dc45a.
This reverts commit 94d3ff09cfa8d7aecf480e54da9a5334e262e76b.
39 files changed:
clang/lib/CodeGen/CGBuiltin.cpp
clang/test/CodeGen/X86/strictfp_builtins.c
clang/test/CodeGen/aarch64-strictfp-builtins.c
clang/test/CodeGen/strictfp_builtins.c
llvm/docs/GlobalISel/GenericOpcode.rst
llvm/docs/LangRef.rst
llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
llvm/include/llvm/CodeGen/ISDOpcodes.h
llvm/include/llvm/CodeGen/TargetLowering.h
llvm/include/llvm/IR/Intrinsics.td
llvm/include/llvm/Support/TargetOpcodes.def
llvm/include/llvm/Target/GenericOpcodes.td
llvm/lib/Analysis/ConstantFolding.cpp
llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
llvm/lib/CodeGen/MachineVerifier.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/lib/CodeGen/TargetLoweringBase.cpp
llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86TargetTransformInfo.cpp
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/test/Analysis/CostModel/X86/fpclassify.ll [deleted file]
llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-isnan.ll [deleted file]
llvm/test/CodeGen/AArch64/GlobalISel/legalize-isnan.mir [deleted file]
llvm/test/CodeGen/AArch64/aarch64-fpclass.ll [deleted file]
llvm/test/CodeGen/PowerPC/ppc-fpclass.ll [deleted file]
llvm/test/CodeGen/X86/x86-fpclass.ll [deleted file]
llvm/test/MachineVerifier/test_g_isnan.mir [deleted file]
llvm/test/Transforms/InstCombine/fpclass.ll [deleted file]
llvm/test/Transforms/InstSimplify/ConstProp/fpclassify.ll [deleted file]
llvm/test/Transforms/SLPVectorizer/X86/intrinsic.ll