diff mbox series

[v4,02/12] aarch64: Match add<GPI>3_carryin expander and insn

Message ID 20200410034853.4322-3-richard.henderson@linaro.org
State New
Headers show
Series aarch64: Implement TImode comparisons | expand

Commit Message

Li, Pan2 via Gcc-patches April 10, 2020, 3:48 a.m. UTC
The expander and insn predicates do not match,
which can lead to insn recognition errors.

	* config/aarch64/aarch64.md (add<GPI>3_carryin):
	Use register_operand instead of aarch64_reg_or_zero.
---
 gcc/config/aarch64/aarch64.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md
index 728c63bd8d6..e65f46f0f74 100644
--- a/gcc/config/aarch64/aarch64.md
+++ b/gcc/config/aarch64/aarch64.md
@@ -2600,8 +2600,8 @@ 
 	(plus:GPI
 	  (plus:GPI
 	    (ltu:GPI (reg:CC_C CC_REGNUM) (const_int 0))
-	    (match_operand:GPI 1 "aarch64_reg_or_zero"))
-	  (match_operand:GPI 2 "aarch64_reg_or_zero")))]
+	    (match_operand:GPI 1 "register_operand"))
+	  (match_operand:GPI 2 "register_operand")))]
    ""
    ""
 )