This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/33158] missed store sinking opportunity
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Aug 2007 12:44:08 -0000
- Subject: [Bug tree-optimization/33158] missed store sinking opportunity
- References: <bug-33158-7849@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from rguenth at gcc dot gnu dot org 2007-08-24 12:44 -------
It also naturally would fit in the phiopt framework given the structure of
virtual operands:
# SMT.4_26 = VDEF <SMT.4_18>
*D.2016_7 = D.2019_13;
if (D.2019_13 == 3)
goto <bb 4>;
else
goto <bb 9>;
<bb 9>:
goto <bb 5>;
<bb 4>:
# SMT.4_27 = VDEF <SMT.4_26>
*D.2016_7 = 1;
<bb 5>:
# SMT.4_22 = PHI <SMT.4_26(9), SMT.4_27(4)>
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |matz at gcc dot gnu dot org
Severity|normal |enhancement
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33158