[PowerPC] Remove dead code from PPCDAGToDAGISel::SelectSETCC
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Wed, 3 Jul 2013 15:13:30 +0000 (15:13 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Wed, 3 Jul 2013 15:13:30 +0000 (15:13 +0000)
commit47e9328afe3d8b59aba612185618d6052bd0a8ed
tree2ed98e284a101efdd8a3e400ff18b3fb921393cc
parent31ee5866de7e37c6335b7acea13003398ff95fea
[PowerPC] Remove dead code from PPCDAGToDAGISel::SelectSETCC

The subroutine getCRIdxForSetCC has a parameter "Other" and comment:

  If this returns with Other != -1, then the returned comparison
  is an or of two simpler comparisons.

However for at least the last five years this routine has never
returned a value of Other != -1; these cases are now handled
differently to begin with.

This patch removes the parameter and the code in SelectSETCC that
attempted to handle the Other != -1 case.

llvm-svn: 185541
llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp