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]
Other format: [Raw text]

Re: [dataflow]: PATCH COMMITTED


On Wed, 2006-11-15 at 10:54 -0500, Kenneth Zadeck wrote:
> 
> The conversation was made on or right before sept 21.  Maybe danny can
> find the irc log.

I can remember part of the conversation.  The issue is that a plain
unspec without a set is always un-deletable instruction.

So:
(insn (unspec (xxxx) )

Should not be deleted even if it does not set anything.

In the ia64, it is used like use but use are useless after reload or at
least that is what the comment says:
;; As USE insns aren't meaningful after reload, this is used instead
;; to prevent deleting instructions setting registers for EH handling
(define_insn "prologue_use"
  [(unspec:DI [(match_operand:DI 0 "register_operand" "")]
              UNSPEC_PROLOGUE_USE)]


Thanks,
Andrew Pinski



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