diff options
author | Liu, Chen3 <chen3.liu@intel.com> | 2019-12-10 09:04:28 +0800 |
---|---|---|
committer | Liu, Chen3 <chen3.liu@intel.com> | 2019-12-10 09:04:28 +0800 |
commit | bbf7860b9371799609f0e918e468f8e997f62eb3 (patch) | |
tree | 37b5b734013a50bfc04099f73c03c604105e2b38 /llvm/lib/Target/X86/X86ISelDAGToDAG.cpp | |
parent | 9c6b7f68b807250e7c3aa01938339fdbd239c4ea (diff) | |
download | bcm5719-llvm-bbf7860b9371799609f0e918e468f8e997f62eb3.tar.gz bcm5719-llvm-bbf7860b9371799609f0e918e468f8e997f62eb3.zip |
add support for strict operation fpextend/fpround/fsqrt on X86 backend
Differential Revision: https://reviews.llvm.org/D71184
Diffstat (limited to 'llvm/lib/Target/X86/X86ISelDAGToDAG.cpp')
-rw-r--r-- | llvm/lib/Target/X86/X86ISelDAGToDAG.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp index b955f63296b..0c7aaada4be 100644 --- a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp +++ b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp @@ -5219,14 +5219,6 @@ void X86DAGToDAGISel::Select(SDNode *Node) { SelectCode(Res.getNode()); return; } - case ISD::STRICT_FP_ROUND: { - // X87 instructions has enabled this strict fp operation. - bool UsingFp80 = Node->getSimpleValueType(0) == MVT::f80 || - Node->getOperand(1).getSimpleValueType() == MVT::f80; - if (UsingFp80 || (!Subtarget->hasSSE1() && Subtarget->hasX87())) - break; - LLVM_FALLTHROUGH; - } case ISD::STRICT_FP_TO_SINT: case ISD::STRICT_FP_TO_UINT: // FIXME: Remove when we have isel patterns for strict versions of these |