Commit 509f9870 by Jeff Law Committed by Jeff Law

h8300.md (low byte masking peepholes): Only accept nonimmediate_operand for the…

h8300.md (low byte masking peepholes): Only accept nonimmediate_operand for the to-be-masked operand.

	* config/h8300/h8300.md (low byte masking peepholes): Only accept
	nonimmediate_operand for the to-be-masked operand.

From-SVN: r266744
parent bbb10360
2018-12-03 Jeff Law <law@redhat.com>
* config/h8300/h8300.md (low byte masking peepholes): Only accept
nonimmediate_operand for the to-be-masked operand.
2018-12-03 Richard Biener <rguenther@suse.de>
* tree-ssa-sccvn.c (eliminate_dom_walker::eliminate_stmt): Only
......@@ -4647,7 +4647,7 @@
(define_peephole2
[(set (match_operand:SI 0 "register_operand" "")
(match_operand:SI 1 "general_operand" ""))
(match_operand:SI 1 "nonimmediate_operand" ""))
(set (match_dup 0)
(and:SI (match_dup 0)
(const_int 255)))]
......@@ -4666,7 +4666,7 @@
(define_peephole2
[(set (match_operand 0 "register_operand" "")
(match_operand 1 "general_operand" ""))
(match_operand 1 "nonimmediate_operand" ""))
(set (match_operand:SI 2 "register_operand" "")
(and:SI (match_dup 2)
(match_operand:SI 3 "const_int_qi_operand" "")))]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment