OSDN Git Service

SDAG: Implement Select instead of SelectImpl in BPFDAGToDAGISel
authorJustin Bogner <mail@justinbogner.com>
Thu, 12 May 2016 21:14:47 +0000 (21:14 +0000)
committerJustin Bogner <mail@justinbogner.com>
Thu, 12 May 2016 21:14:47 +0000 (21:14 +0000)
commit156b5ed92ccd1ba255551f360dbaf13b8594f6b3
tree8301f99dfbe475193c96c55de522483d1eb5eaeb
parent42e9bbeb4c443addca4bd7d5449e7064a80d022b
SDAG: Implement Select instead of SelectImpl in BPFDAGToDAGISel

- Where we were returning a node before, call ReplaceNode instead.
- Where we were calling SelectNodeTo, just return afterwards.

Part of llvm.org/pr26808.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269350 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/BPF/BPFISelDAGToDAG.cpp