On 08/18/14 07:02, Ilya Enkovich wrote:
On 03 Jun 11:33, Richard Biener wrote:
On Tue, Jun 3, 2014 at 9:13 AM, Ilya Enkovich <enkovich....@gmail.com> wrote:
Hi,

This patch preserves CALL_WITH_BOUNDS flag for calls during PRE.

Ok.

Richard.


Merging with the trunk I found that op2 field of vn_reference_op_struct is now 
used to pass EH context for calls and there is no more free field to store 
with_bounds flag.  So I added one.  Does it look OK?


Thanks,
Ilya
--
2014-08-14  Ilya Enkovich  <ilya.enkov...@intel.com>

        * tree-ssa-sccvn.h (vn_reference_op_struct): Transform opcode
        into bit field and add with_bounds field.
        * tree-ssa-sccvn.c (copy_reference_ops_from_call): Set
        with_bounds field for instrumented calls.
        * tree-ssa-pre.c (create_component_ref_by_pieces_1): Restore
        CALL_WITH_BOUNDS_P flag for calls.
For consistency, make the bitfield 16 bits (see ipa-inline.h, tree-core.h and tree-ssa-sccvn.h.

OK with that change.

jeff

Reply via email to