predicates.md (constm1_operand): Fix comparison.
authorUros Bizjak <ubizjak@gmail.com>
Fri, 29 Apr 2016 12:00:48 +0000 (14:00 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 29 Apr 2016 12:00:48 +0000 (14:00 +0200)
* config/i386/predicates.md (constm1_operand): Fix comparison.

From-SVN: r235635

gcc/ChangeLog
gcc/config/i386/predicates.md

index d3fde07a4bd1047c99b1f737859eb47bd819cecb..219d42374f436fd2cea9c32b063ba2d90c2481ab 100644 (file)
@@ -1,3 +1,7 @@
+2016-04-29  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/predicates.md (constm1_operand): Fix comparison.
+
 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
 
        * testsuite/gcc.target/arc/ieee_eq.c: New test.
index 1980a620c870c39bde297bc7f9ab3cf5f3c8184d..d15dae457941dbb7a6a7bd42e034773a916e3cab 100644 (file)
 ;; Match exactly -1.
 (define_predicate "constm1_operand"
   (and (match_code "const_int")
-       (match_test "op = constm1_rtx")))
+       (match_test "op == constm1_rtx")))
 
 ;; Match exactly eight.
 (define_predicate "const8_operand"