Remove the useless S constraints in the casesi_internal pattern.

This commit is contained in:
mycroft 1998-11-11 20:39:21 +00:00
parent 6f8f9f2158
commit 21135fece3
1 changed files with 9 additions and 8 deletions

View File

@ -3633,15 +3633,17 @@
DONE;
}")
;; The USE in this pattern is needed to tell flow analysis that this is
;; a CASESI insn. It has no other purpose.
(define_insn "casesi_internal"
[(parallel [(set (pc)
(if_then_else
(leu (match_operand:SI 0 "s_register_operand" "r")
(match_operand:SI 1 "arm_rhs_operand" "rI"))
(mem:SI (plus:SI (mult:SI (match_dup 0) (const_int 4))
(label_ref (match_operand 2 "" "S"))))
(label_ref (match_operand 3 "" "S"))))
(use (label_ref (match_dup 2 )))])]
(label_ref (match_operand 2 "" ""))))
(label_ref (match_operand 3 "" ""))))
(use (label_ref (match_dup 2)))])]
""
"*
if (flag_pic)
@ -3651,7 +3653,6 @@
[(set_attr "conds" "clob")
(set_attr "length" "12")])
(define_insn ""
[(set (pc)
(match_operand:SI 0 "memory_operand" "m"))