* config/nvptx/nvptx.md (cbranch<mode>4): Op 2 can be const.
authorNathan Sidwell <nathan@acm.org>
Thu, 1 Sep 2016 12:07:16 +0000 (12:07 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 1 Sep 2016 12:07:16 +0000 (12:07 +0000)
From-SVN: r239934

gcc/ChangeLog
gcc/config/nvptx/nvptx.md

index dca92035308f6a2bec92458fe0a604953b77c422..ad60eb204afd1007f42c1e85d66554d8253ccef1 100644 (file)
@@ -1,3 +1,7 @@
+2016-09-01  Nathan Sidwell  <nathan@acm.org>
+
+       * config/nvptx/nvptx.md (cbranch<mode>4): Op 2 can be const.
+
 2016-09-01  Wilco Dijkstra  <wdijkstr@arm.com>
 
        * config/aarch64/aarch64.c (aarch64_legitimize_address_displacement):
index e48412de6a6f6b299f65a63f968c5e988a6d374e..d117343c531d85d1ceee46cf4e3786e5fa2f5b0f 100644 (file)
   [(set (pc)
        (if_then_else (match_operator 0 "nvptx_comparison_operator"
                       [(match_operand:HSDIM 1 "nvptx_register_operand" "")
-                       (match_operand:HSDIM 2 "nvptx_register_operand" "")])
+                       (match_operand:HSDIM 2 "nvptx_nonmemory_operand" "")])
                      (label_ref (match_operand 3 "" ""))
                      (pc)))]
   ""
   [(set (pc)
        (if_then_else (match_operator 0 "nvptx_float_comparison_operator"
                       [(match_operand:SDFM 1 "nvptx_register_operand" "")
-                       (match_operand:SDFM 2 "nvptx_register_operand" "")])
+                       (match_operand:SDFM 2 "nvptx_nonmemory_operand" "")])
                      (label_ref (match_operand 3 "" ""))
                      (pc)))]
   ""