diff mbox series

[committed,AArch64] Remove unused commutative attribute

Message ID mpty3044ygw.fsf@arm.com
State New
Headers show
Series [committed,AArch64] Remove unused commutative attribute | expand

Commit Message

Richard Sandiford Aug. 7, 2019, 6:33 p.m. UTC
The commutative attribute was once used by the SVE conditional binary
expanders, but it's now dead code.

Tested on aarch64-linux-gnu (with and without SVE) and aarch64_be-elf.
Applied as r274182.

Richard


2019-08-07  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
	* config/aarch64/iterators.md (commutative): Remove.
diff mbox series

Patch

Index: gcc/config/aarch64/iterators.md
===================================================================
--- gcc/config/aarch64/iterators.md	2019-08-07 19:27:50.000000000 +0100
+++ gcc/config/aarch64/iterators.md	2019-08-07 19:27:55.414720593 +0100
@@ -1925,10 +1925,3 @@  (define_int_attr sve_fmad_op [(UNSPEC_CO
 			      (UNSPEC_COND_FMLS "fmsb")
 			      (UNSPEC_COND_FNMLA "fnmad")
 			      (UNSPEC_COND_FNMLS "fnmsb")])
-
-(define_int_attr commutative [(UNSPEC_COND_ADD "true")
-			      (UNSPEC_COND_SUB "false")
-			      (UNSPEC_COND_MUL "true")
-			      (UNSPEC_COND_DIV "false")
-			      (UNSPEC_COND_MIN "true")
-			      (UNSPEC_COND_MAX "true")])