[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)
commitf6b67dc7f8ed87443dc03856e789f42ba72ecaa8
tree4bafac09f87555daa29319a96332bb14f9a9c731
parent365ef0b197d7c841f8e501da64296df65be4ca23
[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.

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