summaryrefslogtreecommitdiff
path: root/gcc/config/nvptx
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2016-09-01 12:07:16 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2016-09-01 12:07:16 +0000
commit9d846e458e83007f404b997d86aa40d0a145d158 (patch)
tree0b7e8063d15f862eea61e4654e714d736a945384 /gcc/config/nvptx
parent156b069e85e47a97b3c4193584e9385ee500ad29 (diff)
downloadgcc-9d846e458e83007f404b997d86aa40d0a145d158.tar.gz
* config/nvptx/nvptx.md (cbranch<mode>4): Op 2 can be const.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239934 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/nvptx')
-rw-r--r--gcc/config/nvptx/nvptx.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/nvptx/nvptx.md b/gcc/config/nvptx/nvptx.md
index e48412de6a6..d117343c531 100644
--- a/gcc/config/nvptx/nvptx.md
+++ b/gcc/config/nvptx/nvptx.md
@@ -541,7 +541,7 @@
[(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)))]
""
@@ -556,7 +556,7 @@
[(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)))]
""