gcc/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Sep 2011 23:03:57 +0000 (23:03 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Sep 2011 23:03:57 +0000 (23:03 +0000)
* config/iq2000/iq2000.md: Use match_test rather than eq/ne symbol_ref
throughout file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179296 138bc75d-0d04-0410-961f-82ee72b054a4

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

index e130ad0..2eb7631 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 7ad113d..51fbe22 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"))))