summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2018-08-02 13:43:53 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2018-08-02 13:43:53 +0000
commit1f3977a856a3313a028a2505ec9a59950204a5a1 (patch)
treeaa70ddab0de1562c1dfe68a624c4360b5e3607b4 /llvm/lib/CodeGen/SelectionDAG
parent36cdcfadcf57ff8f253b0053137f198187fe85c6 (diff)
downloadbcm5719-llvm-1f3977a856a3313a028a2505ec9a59950204a5a1.tar.gz
bcm5719-llvm-1f3977a856a3313a028a2505ec9a59950204a5a1.zip
DAG: Fix vector widening fcanonicalize
llvm-svn: 338715
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
index a7ccb3c05ec..ab868c34805 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
@@ -2394,6 +2394,7 @@ void DAGTypeLegalizer::WidenVectorResult(SDNode *N, unsigned ResNo) {
case ISD::FSIN:
case ISD::FSQRT:
case ISD::FTRUNC:
+ case ISD::FCANONICALIZE:
Res = WidenVecRes_Unary(N);
break;
case ISD::FMA:
OpenPOWER on IntegriCloud