Question on scalar replacement

Richard Kenner kenner@vlsi1.ultra.nyu.edu
Mon Jun 14 13:50:00 GMT 2004


    > The RHS is a call, so it calls scalarize_call_expr.  This seems to look
    > inside the args, but only check the RHS for is_sra_candidate_decl.  From
    > other code, it looks like checking is_sra_candidate_ref seems correct.

    Do we get inside this if() statement in scalarize_call_expr()?

      /* If the LHS of the assignment is a scalarizable structure, insert
         copies into the scalar replacements after the call.  */
      if (is_sra_candidate_decl (var))

No.  That's what I was trying to say.  VAR is a COMPONENT_REF here.



More information about the Gcc mailing list