iq2000.md: Use match_test rather than eq/ne symbol_ref throughout file.
authorRichard Sandiford <rdsandiford@googlemail.com>
Tue, 27 Sep 2011 23:03:57 +0000 (23:03 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 27 Sep 2011 23:03:57 +0000 (23:03 +0000)
gcc/
* config/iq2000/iq2000.md: Use match_test rather than eq/ne symbol_ref
throughout file.

From-SVN: r179296

gcc/ChangeLog
gcc/config/iq2000/iq2000.md

index e130ad09fb1e43431affd4accd560876d2b60f7c..2eb763107c242df0dbb8a80f94f2b4568055614d 100644 (file)
@@ -1,3 +1,8 @@
+2011-09-28  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * config/iq2000/iq2000.md: Use match_test rather than eq/ne symbol_ref
+       throughout file.
+
 2011-09-27  Sriraman Tallam  <tmsriram@google.com>
 
        * output.h (SECTION_EXCLUDE): New macro.
index 7ad113d95381e96675ead15c402f2e5c97ee643d..51fbe22fbe2f5ef6f3c0c93ec6aa774797af24e6 100644 (file)
 
 (define_attr "branch_likely" "no,yes"
   (const
-   (if_then_else (ne (symbol_ref "GENERATE_BRANCHLIKELY") (const_int 0))
+   (if_then_else (match_test "GENERATE_BRANCHLIKELY")
                 (const_string "yes")
                 (const_string "no"))))