rs6000: Delete VECTOR_OTHER

It's never used.


	* config/rs6000/rs6000-opts.h (enum rs6000_vector): Delete
	VECTOR_OTHER.
	* config/rs6000/rs6000.c (rs6000_debug_vector_unit): Delete
	case VECTOR_OTHER.

From-SVN: r264444
This commit is contained in:
Segher Boessenkool 2018-09-20 19:21:54 +02:00 committed by Segher Boessenkool
parent eb3f731774
commit fbcf65f914
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2018-09-20 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/rs6000-opts.h (enum rs6000_vector): Delete
VECTOR_OTHER.
* config/rs6000/rs6000.c (rs6000_debug_vector_unit): Delete
case VECTOR_OTHER.
2018-09-20 Marek Polacek <polacek@redhat.com>
* doc/invoke.texi: Add -Wno-init-list-lifetime to C++ Language Options.

View File

@ -137,8 +137,7 @@ enum rs6000_vector {
VECTOR_NONE, /* Type is not a vector or not supported */
VECTOR_ALTIVEC, /* Use altivec for vector processing */
VECTOR_VSX, /* Use VSX for vector processing */
VECTOR_P8_VECTOR, /* Use ISA 2.07 VSX for vector processing */
VECTOR_OTHER /* Some other vector unit */
VECTOR_P8_VECTOR /* Use ISA 2.07 VSX for vector processing */
};
/* Where to get the canary for the stack protector. */

View File

@ -2300,7 +2300,6 @@ rs6000_debug_vector_unit (enum rs6000_vector v)
case VECTOR_ALTIVEC: ret = "altivec"; break;
case VECTOR_VSX: ret = "vsx"; break;
case VECTOR_P8_VECTOR: ret = "p8_vector"; break;
case VECTOR_OTHER: ret = "other"; break;
default: ret = "unknown"; break;
}