[pushed] aarch64: Remove unnecessary can_create_pseudo_p condition

Message ID mpt8r7fatws.fsf@arm.com
State Unresolved
Headers
Series [pushed] aarch64: Remove unnecessary can_create_pseudo_p condition |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

Richard Sandiford Nov. 3, 2023, 12:44 p.m. UTC
  This patch removes a can_create_pseudo_p condition from
*cmov_uxtw_insn_insv, bringing it in line with *cmov<mode>_insn_insv.
The constraints correctly describe the requirements.

Tested on aarch64-linux-gnu & pushed.

Richard


gcc/
	* config/aarch64/aarch64.md (*cmov_uxtw_insn_insv): Remove
	can_create_pseudo_p condition.
---
 gcc/config/aarch64/aarch64.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md
index 5bb8c772be8..bcf4bc8ccd4 100644
--- a/gcc/config/aarch64/aarch64.md
+++ b/gcc/config/aarch64/aarch64.md
@@ -4447,7 +4447,7 @@  (define_insn_and_split "*cmov_uxtw_insn_insv"
 	   (match_operator:SI 1 "aarch64_comparison_operator"
 	    [(match_operand 2 "cc_register" "") (const_int 0)]))
 	  (match_operand:SI 3 "general_operand" "r"))))]
-  "can_create_pseudo_p ()"
+  ""
   "#"
   "&& true"
   [(set (match_dup 0)