Skip to content

Commit

Permalink
SDAG: Implement Select instead of SelectImpl in HexagonDAGToDAGISel
Browse files Browse the repository at this point in the history
- Where we were returning a node before, call ReplaceNode instead.
- Where we had already replaced all uses and we returned a node, just
  remove the dead node instead.
- Where we would return null to fall back to another selector, rename
  the method to try* and return a bool for success.

Part of llvm.org/pr26808.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269358 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
bogner committed May 12, 2016
1 parent a3a9c7e commit f00111d
Showing 1 changed file with 189 additions and 139 deletions.
Loading

0 comments on commit f00111d

Please sign in to comment.