Combine 2 redundant splitters into one.
authorJames E Wilson <wilson@specifixinc.com>
Sat, 21 Feb 2004 08:22:34 +0000 (08:22 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Sat, 21 Feb 2004 08:22:34 +0000 (00:22 -0800)
* config/ia64/ia64.md (shift_mix4left+1): Delete reload_completed
check.
(shift_mix4left+2): Delete redundant pattern.

From-SVN: r78213

gcc/ChangeLog
gcc/config/ia64/ia64.md

index 9b428ea6034901410edfc656b7e2822292d347cf..ee976829d7f35ae953781862403b17511528cc35 100644 (file)
@@ -1,3 +1,9 @@
+2004-02-20  James E Wilson  <wilson@specifixinc.com>
+
+       * config/ia64/ia64.md (shift_mix4left+1): Delete reload_completed
+       check.
+       (shift_mix4left+2): Delete redundant pattern.
+
 2004-02-20  Kazu Hirata  <kazu@cs.umass.edu>
 
        * alias.c (OUTGOING_REGNO): Don't define the default.
index 520ffba3a43f757aed1e1a88e7eb5e172055923a..39694b1baed10f971667a86f9b043dbeaff9ed0c 100644 (file)
                         (const_int 32) (const_int 0))
        (match_operand:DI 1 "register_operand" ""))
    (clobber (match_operand:DI 2 "register_operand" ""))]
-  "reload_completed"
-  [(set (match_dup 3) (ashift:DI (match_dup 1) (const_int 32)))
-   (set (zero_extract:DI (match_dup 0) (const_int 32) (const_int 0))
-       (lshiftrt:DI (match_dup 3) (const_int 32)))]
-  "operands[3] = operands[2];")
-
-(define_split
-  [(set (zero_extract:DI (match_operand:DI 0 "register_operand" "")
-                        (const_int 32) (const_int 0))
-       (match_operand:DI 1 "register_operand" ""))
-   (clobber (match_operand:DI 2 "register_operand" ""))]
-  "! reload_completed"
+  ""
   [(set (match_dup 3) (ashift:DI (match_dup 1) (const_int 32)))
    (set (zero_extract:DI (match_dup 0) (const_int 32) (const_int 0))
        (lshiftrt:DI (match_dup 3) (const_int 32)))]