Skip to content
Snippets Groups Projects
Commit b381e84c authored by Richard Sandiford's avatar Richard Sandiford
Browse files

Simplify (X /[ex] C1) * (C1 * C2) -> X * C2

gcc/
	* match.pd: Simplify (X /[ex] C1) * (C1 * C2) -> X * C2.

gcc/testsuite/
	* gcc.dg/tree-ssa/mulexactdiv-1.c: New test.
	* gcc.dg/tree-ssa/mulexactdiv-2.c: Likewise.
	* gcc.dg/tree-ssa/mulexactdiv-3.c: Likewise.
	* gcc.dg/tree-ssa/mulexactdiv-4.c: Likewise.
	* gcc.target/aarch64/sve/cnt_fold_1.c: Likewise.
	* gcc.target/aarch64/sve/cnt_fold_2.c: Likewise.
parent e2e798b8
No related branches found
No related tags found
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