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: [PATCH] Fix ssa coalescing with inline asm (PR middle-end/70593)


On Mon, 11 Apr 2016, Jeff Law wrote:

> On 04/08/2016 10:10 AM, Jakub Jelinek wrote:
> > On Fri, Apr 08, 2016 at 06:04:38PM +0200, Richard Biener wrote:
> > > Hmm, don't we simply want to do this for all stmts (OK, only asm have
> > > multiple defs...)?
> > 
> > For all stmts that have multiple defs (which is only GIMPLE_ASM right now).
> I thought the atomic support added support for statements with multiple
> outputs?

Maybe on a branch.  Historically all gimples had the ability to have
multiple DEFs but this was removed as having excessive memory requirement.
Later DEFs handling was simplified and we no longer keep def "operands"
explicit but the iterators know how to get at all possible defs.  Which
makes it "currently only ASMs can have multiple (non-virtual) defs".

See ssa-iterators.h:op_iter_init and op_iter_next_def.

Richard.


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