summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
diff options
context:
space:
mode:
authorCameron McInally <cameron.mcinally@nyu.edu>2018-08-20 19:28:56 +0000
committerCameron McInally <cameron.mcinally@nyu.edu>2018-08-20 19:28:56 +0000
commit94b9029be9f2cdfef7776c48a18a0117a5ea6fda (patch)
tree21826e6cad16f53e1fb72daf5df88c1f5a843e96 /llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
parent5ca4128b45fb32c51c9b59ffca24dd3c9465fb2f (diff)
downloadbcm5719-llvm-94b9029be9f2cdfef7776c48a18a0117a5ea6fda.tar.gz
bcm5719-llvm-94b9029be9f2cdfef7776c48a18a0117a5ea6fda.zip
[FPEnv] Support constrained FREM intrinsic
Differential Revision: https://reviews.llvm.org/D50975 llvm-svn: 340201
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
index 3a98a7a904c..6c248bec441 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
@@ -298,6 +298,7 @@ SDValue VectorLegalizer::LegalizeOp(SDValue Op) {
case ISD::STRICT_FSUB:
case ISD::STRICT_FMUL:
case ISD::STRICT_FDIV:
+ case ISD::STRICT_FREM:
case ISD::STRICT_FSQRT:
case ISD::STRICT_FMA:
case ISD::STRICT_FPOW:
@@ -739,6 +740,7 @@ SDValue VectorLegalizer::Expand(SDValue Op) {
case ISD::STRICT_FSUB:
case ISD::STRICT_FMUL:
case ISD::STRICT_FDIV:
+ case ISD::STRICT_FREM:
case ISD::STRICT_FSQRT:
case ISD::STRICT_FMA:
case ISD::STRICT_FPOW:
OpenPOWER on IntegriCloud