93df5c0...
by
Alexandre Oliva <email address hidden>
ifcombine: factor out inner block viability test
Bail out early if the inner block has side effects or is otherwise not
eligible for ifcombine.
for gcc/ChangeLog
* tree-ssa-ifcombine.c (tree_ssa_ifcombine_bb_1): Factor out
bb_no_side_effects_p tests...
(tree_ssa_ifcombine_bb): ... here.
3c7e477...
by
Alexandre Oliva <email address hidden>
[PR68083] don't introduce undefined behavior in ifcombine
The ifcombine pass may move a conditional access to an uninitialized
value before the condition that ensures it is always well-defined,
thus introducing undefined behavior. Stop it from doing so.
for gcc/ChangeLog
PR tree-optimization/68083
* tree-ssa-ifcombine.c: Include tree-ssa.h.
(bb_no_side_effects_p): Test for undefined uses too.
* tree-ssa.c (gimple_uses_undefined_value_p): New.
* tree-ssa.h (gimple_uses_undefined_value_p): Declare.
for gcc/testsuite/ChangeLog
PR tree-optimization/68083
* gcc.dg/torture/pr68083.c: New. From Zhendong Su.
790d50b...
by
mshawcroft <mshawcroft@138bc75d-0d04-0410-961f-82ee72b054a4>
[AArch64] Fix insn types.
2015-10-30 Evandro Menezes <email address hidden>
* config/aarch64/aarch64.md (*movhf_aarch64): Change the type of
"mov %0.h[0], %1.h[0] to "neon_move".
(*movtf_aarch64): Change the type of "fmov %s0, wzr" to "f_mcr".
(*cmov<mode>_insn): Change the types of "mov %<w>0, {-1,1}" to
"mov_imm".
(*cmovsi_insn_uxtw): Likewise.
0334b31...
by
vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Cleanup fipa-pta constraint dumping
2015-10-30 Tom de Vries <email address hidden>
* tree-ssa-structalias.c (ipa_pta_execute): Declare variable from as
unsigned, and initialize, and use initial value instead of hardcoded
constant. Add generic constraints dumping section. Don't dump global
initializers constraints dumping section if empty. Don't update
variable from if unused.
694a1a8...
by
law <law@138bc75d-0d04-0410-961f-82ee72b054a4>
[PATCH] Remove unnecessary invalidation support in threading
2015-10-29 Jeff Law <email address hidden>
* tree-ssa-scopedtables.h (const_and_copies): Remove invalidate
method.
* tree-ssa-scopedtables.h (const_and_copies::invalidate): Remove.
* tree-ssa-threadedge.c
(record_temporary_equivalences_from_stmts_at_dest): Remove
backedge_seen argument and associated code which invalidated
equivalences based on the value of that argument.
(thread_through_normal_block): Corresponding changes.