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

Re: More ifcvt woes



  In message <200005132037.VAA25055@cam-mail2.cambridge.arm.com>you write:
  > Anyway, on to the next one.. :-(
  > 
  > This time we have the sequence
  > 
  >     +---83 -> 86
  >     |   |
  >     |   v
  >     |   84---+
  >     |   |    |
  >     |   v    |
  >     |   85---+
  >     |        |
  >     |        |
  >     +-->86   |
  >         |    |
  >         v    |
  >         87<--+
  >         |
  > 
  > Where block 84 only contains a conditional jump (the comparison has been 
  > cse'd into block 83), and block 85 only contains an unconditional jump (to 
  > the same location as block 84 conditionally jumps to.  That is, block 84 
  > is completely redundant.  Finally, block 86 contains a single simple move 
  > insn.
I'd like to see us zap block 84 in this case rather than making ifcvt.c
have to deal with this kind of case.

jeff


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