This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Attachment: uninit-CCMP.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]