From: Adam Nemet Date: Tue, 28 Mar 2017 23:46:12 +0000 (+0000) Subject: [SDAG] Handle VectorReduction in SDNodeFlags::intersectWith X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=672fd126130c185764e4764e735a4a508c100faa;p=llvm [SDAG] Handle VectorReduction in SDNodeFlags::intersectWith Spotted by Sanjay in https://reviews.llvm.org/D31165 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298962 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index 06148070c81..81cc0b39cf8 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -394,6 +394,7 @@ public: NoInfs &= Flags->NoInfs; NoSignedZeros &= Flags->NoSignedZeros; AllowReciprocal &= Flags->AllowReciprocal; + VectorReduction &= Flags->VectorReduction; AllowContract &= Flags->AllowContract; } };