Fix a huge annoyance: SelectNodeTo took types before the opcode unlike
authorChris Lattner <sabre@nondot.org>
Fri, 26 Aug 2005 16:36:26 +0000 (16:36 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 26 Aug 2005 16:36:26 +0000 (16:36 +0000)
commit2bb06cdf27905cf95bd39e4120f1ad57c68ac73e
tree6f2ba759be2fe62d362348524efb49b520ccbbba
parent22b7dfa6452a6ca9b3d3107a93f01222d24922b1
Fix a huge annoyance: SelectNodeTo took types before the opcode unlike
every other SD API.  Fix it to take the opcode before the types.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23079 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAG.h
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/Target/PowerPC/PPCISelDAGToDAG.cpp