diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-02 07:50:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-02 07:50:03 +0000 |
commit | 82dd3d38d9b3bd49f19b8230f39d33e8ee6d4055 (patch) | |
tree | 8b3150f406c03dd311b6a7c469c8f0e01301764f /include/llvm/CodeGen | |
parent | 61c97f693216670cda554d287cd871fdea1b36f9 (diff) |
Fix the xfail I added a couple of patches back. The issue
was that we weren't properly handling the case when interior
nodes of a matched pattern become dead after updating chain
and flag uses. Now we handle this explicitly in
UpdateChainsAndFlags.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97561 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAGISel.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGISel.h b/include/llvm/CodeGen/SelectionDAGISel.h index e9cbb13fa6..af1273c1e0 100644 --- a/include/llvm/CodeGen/SelectionDAGISel.h +++ b/include/llvm/CodeGen/SelectionDAGISel.h @@ -307,6 +307,12 @@ private: /// OpcodeOffset - This is a cache used to dispatch efficiently into isel /// state machines that start with a OPC_SwitchOpcode node. std::vector<unsigned> OpcodeOffset; + + void UpdateChainsAndFlags(SDNode *NodeToMatch, SDValue InputChain, + const SmallVectorImpl<SDNode*> &ChainNodesMatched, + SDValue InputFlag,const SmallVectorImpl<SDNode*> &F, + bool isMorphNodeTo); + }; } |