Skip to content
Snippets Groups Projects
Commit 165947fe authored by liuhongt's avatar liuhongt
Browse files

Add single_use to simplification (uncond_op + vec_cond -> cond_op).

gcc/ChangeLog:

	PR tree-optimization/104479
	* match.pd (uncond_op + vec_cond -> cond_op): Add single_use
	for the dest of uncond_op.

gcc/testsuite/ChangeLog:

	* gcc.target/i386/pr104479.c: New test.
	* gcc.target/i386/cond_op_shift_w-1.c: Adjust testcase.
parent 7cc6a8d0
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment