OSDN Git Service

SDAG: Implement Select instead of SelectImpl in SystemZDAGToDAGISel
authorJustin Bogner <mail@justinbogner.com>
Fri, 13 May 2016 22:42:08 +0000 (22:42 +0000)
committerJustin Bogner <mail@justinbogner.com>
Fri, 13 May 2016 22:42:08 +0000 (22:42 +0000)
commita719a1dad2302ec05e2b62a805f28db66cfd3f1f
tree0f5172ddf038b61d0c2f88a33181573ecacabfe8
parent36666742ca0e7eb49df502ac2e0526a3e6cdeebd
SDAG: Implement Select instead of SelectImpl in SystemZDAGToDAGISel

- Where we were returning a node before, call ReplaceNode 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@269505 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp