This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/33158] missed store sinking opportunity



------- 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


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