Skip to content
Snippets Groups Projects
Commit 91421e21 authored by Hu, Lin1's avatar Hu, Lin1
Browse files

Match: Fix ordered and nonequal

Need to add :c for bit_and, because bit_and is commutative. And is (ltgt @0 @1)
is simpler than (bit_not (uneq @0 @1)).

gcc/ChangeLog:

	* match.pd: Fix match for (bit_and (ordered @0 @1) (ne @0 @1)).

gcc/testsuite/ChangeLog:

	* gcc.dg/opt-ordered-and-nonequal-1.c: New test.
	* gcc.target/i386/optimize_one.c: Change name to opt-comi-1.c.
	* gcc.target/i386/opt-comi-1.c: New test.
parent d0c86be1
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