avr.md ("rotl<mode>3",mode=HIDI): Use match_dup instead of match_operand for operand 3.
authorGeorg-Johann Lay <avr@gjlay.de>
Fri, 15 Apr 2011 09:44:00 +0000 (09:44 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Fri, 15 Apr 2011 09:44:00 +0000 (09:44 +0000)
* config/avr/avr.md ("rotl<mode>3",mode=HIDI): Use match_dup
instead of match_operand for operand 3.

From-SVN: r172480

gcc/ChangeLog
gcc/config/avr/avr.md

index 23f963d8e98ed11a4caf873ca59b005dcdd742a1..3eb95e437d65341018c11c8ce53fd49bf160d5e1 100644 (file)
@@ -1,3 +1,8 @@
+2011-04-15  Georg-Johann Lay  <avr@gjlay.de>
+       
+       * config/avr/avr.md ("rotl<mode>3",mode=HIDI): Use match_dup
+       instead of match_operand for operand 3.
+
 2011-04-15  Richard Sandiford  <richard.sandiford@linaro.org>
 
        * recog.h (insn_operand_data): Add an "allows_mem" field.
index 86e052aa08acb0d5a06ad3ffd529889d83acbf22..1ab30332bdb98ae18f29e7d461f2720f0ebfb2f4 100644 (file)
   [(parallel [(set (match_operand:HIDI 0 "register_operand" "")
                   (rotate:HIDI (match_operand:HIDI 1 "register_operand" "")
                                (match_operand:VOID 2 "const_int_operand" "")))
-               (clobber (match_operand 3 ""))])]
+               (clobber (match_dup 3))])]
   ""
   "
 {