Patchwork [i386] : Remove tp_or_register_operand predicate

login
register
mail settings
Submitter Uros Bizjak
Date July 29, 2011, 3:58 p.m.
Message ID <CAFULd4ZboS_O1hn7krP94dXxL=t98jpXFCrdKNUT2WVBMJQgtQ@mail.gmail.com>
Download mbox | patch
Permalink /patch/107416/
State New
Headers show

Comments

Uros Bizjak - July 29, 2011, 3:58 p.m.
Hello!

tp_or_register_operand predicate is not used.

2011-07-29  Uros Bizjak  <ubizjak@gmail.com>

	* config/i386/predicates.md (tp_or_register_operand): Remove predicate.

Tested on x86_64-pc-linux-gnu, committed to mainline SVN.

Uros.

Patch

Index: predicates.md
===================================================================
--- predicates.md	(revision 176924)
+++ predicates.md	(working copy)
@@ -490,11 +490,6 @@ 
   (and (match_code "symbol_ref")
        (match_test "op == ix86_tls_module_base ()")))

-(define_predicate "tp_or_register_operand"
-  (ior (match_operand 0 "register_operand")
-       (and (match_code "unspec")
-	    (match_test "XINT (op, 1) == UNSPEC_TP"))))
-
 ;; Test for a pc-relative call operand
 (define_predicate "constant_call_address_operand"
   (match_code "symbol_ref")