aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2011-09-27 23:03:57 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2011-09-27 23:03:57 +0000
commitb4d58803b1b3b6f4c5ac7babda10bce147182896 (patch)
tree571bcc7bd1583ee9ed9cd38573d32f1a27b114ad /gcc
parent88778f157626f3421f776c44cb290667d9fd30f5 (diff)
downloadgcc-b4d58803b1b3b6f4c5ac7babda10bce147182896.zip
gcc-b4d58803b1b3b6f4c5ac7babda10bce147182896.tar.gz
gcc-b4d58803b1b3b6f4c5ac7babda10bce147182896.tar.bz2
iq2000.md: Use match_test rather than eq/ne symbol_ref throughout file.
gcc/ * config/iq2000/iq2000.md: Use match_test rather than eq/ne symbol_ref throughout file. From-SVN: r179296
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/iq2000/iq2000.md2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e130ad0..2eb7631 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/iq2000/iq2000.md b/gcc/config/iq2000/iq2000.md
index 7ad113d..51fbe22 100644
--- a/gcc/config/iq2000/iq2000.md
+++ b/gcc/config/iq2000/iq2000.md
@@ -161,7 +161,7 @@
(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"))))