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]

Re: [PATCH, loop2_invariant, 2/2] Change heuristics for identical invariants


On 07/01/14 01:16, Zhenqiang Chen wrote:


ChangeLog:
2014-07-01  Zhenqiang Chen  <zhenqiang.chen@linaro.org>

         * loop-invariant.c (struct invariant): Add a new member: eqno;
         (find_identical_invariants): Update eqno;
         (create_new_invariant): Init eqno;
         (get_inv_cost): Compute comp_cost wiht eqno;
s/wiht/with/

Do you have a testcase for this? If at all possible I'd like to see some kind of test to verify that this tracking results in better invariant selection.

With some kind of test and the ChangeLog typo fixed, this is OK.

jeff


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