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

Record nonzero bits in the irange_bitmask of POLY_INT_CSTs

At the moment, ranger punts entirely on POLY_INT_CSTs.  Numerical
ranges are a bit difficult, unless we do start modelling bounds on
the indeterminates.  But we can at least track the nonzero bits.

gcc/
	* value-query.cc (range_query::get_tree_range): Use get_nonzero_bits
	to populate the irange_bitmask of a POLY_INT_CST.

gcc/testsuite/
	* gcc.target/aarch64/sve/cnt_fold_6.c: New test.
parent af19e46c
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