summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJohn Brawn <john.brawn@arm.com>2019-12-05 11:33:49 +0000
committerJohn Brawn <john.brawn@arm.com>2019-12-06 15:54:27 +0000
commit984f1bb3e794b83da5dde9440f9807c645e8e6db (patch)
tree090574c093ab07cfb4170726f1d7ce0f23e91ed3 /llvm/lib
parent27535a144910149262f9c2dffb6a24c0b7166f15 (diff)
downloadbcm5719-llvm-984f1bb3e794b83da5dde9440f9807c645e8e6db.tar.gz
bcm5719-llvm-984f1bb3e794b83da5dde9440f9807c645e8e6db.zip
[LegalizeTypes] Add missing case for STRICT_FP_ROUND softening
This fixes a test failure in test/CodeGen/ARM/fp-intrinsics.ll.
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
index a94efe74c9a..8f10c60d505 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
@@ -100,6 +100,7 @@ void DAGTypeLegalizer::SoftenFloatResult(SDNode *N, unsigned ResNo) {
case ISD::FNEG: R = SoftenFloatRes_FNEG(N); break;
case ISD::STRICT_FP_EXTEND:
case ISD::FP_EXTEND: R = SoftenFloatRes_FP_EXTEND(N); break;
+ case ISD::STRICT_FP_ROUND:
case ISD::FP_ROUND: R = SoftenFloatRes_FP_ROUND(N); break;
case ISD::FP16_TO_FP: R = SoftenFloatRes_FP16_TO_FP(N); break;
case ISD::STRICT_FPOW:
OpenPOWER on IntegriCloud