[PATCH 2/n] Handle conditional compare in uninit pass

Zhenqiang Chen zhenqiang.chen@arm.com
Wed Aug 21 10:41:00 GMT 2013


Hi,

The attached patch enables uninit pass to handle conditional compare (CCMP).
CCMP is a combine of BIT_AND_EXPR/BIT_IOR_EXPR and CMP expression. The codes
are similar with those to handle BIT_AND_EXPR/BIT_IOR_EXPR and CMP
expression.

Bootstrap on x86-64 and ARM Chromebook.
No ICE and runtime errors in regression tests.
Not test cases prefixed with uninit-pred- fail.

Thanks!
-Zhenqiang

ChangeLog:
2013-08-21  Zhenqiang Chen  <zhenqiang.chen@linaro.org>

	* tree-ssa-uninit.c (normalize_cond_1, normalize_cond,
	is_gcond_subset_of, is_norm_cond_subset_of): Handle conditional
	compare.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uninit-CCMP.patch
Type: application/octet-stream
Size: 4647 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130821/9cd49df7/attachment.obj>


More information about the Gcc-patches mailing list