re PR target/42495 (redundant memory load)
PR target/42495 PR middle-end/42574 * gcse.c (hoist_expr_reaches_here_p): Remove excessive check. From-SVN: r162592
This commit is contained in:
parent
3d489bc712
commit
c7c910cee2
@ -1,3 +1,9 @@
|
|||||||
|
2010-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
|
||||||
|
|
||||||
|
PR target/42495
|
||||||
|
PR middle-end/42574
|
||||||
|
* gcse.c (hoist_expr_reaches_here_p): Remove excessive check.
|
||||||
|
|
||||||
2010-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
|
2010-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
|
||||||
|
|
||||||
* gcse.c (hoist_code): Generate new pseudo for every new set insn.
|
* gcse.c (hoist_code): Generate new pseudo for every new set insn.
|
||||||
|
@ -4335,9 +4335,6 @@ hoist_expr_reaches_here_p (basic_block expr_bb, int expr_index, basic_block bb,
|
|||||||
else if (visited[pred_bb->index])
|
else if (visited[pred_bb->index])
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* Does this predecessor generate this expression? */
|
|
||||||
else if (TEST_BIT (comp[pred_bb->index], expr_index))
|
|
||||||
break;
|
|
||||||
else if (! TEST_BIT (transp[pred_bb->index], expr_index))
|
else if (! TEST_BIT (transp[pred_bb->index], expr_index))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user