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] implement Cilk Plus simd loops on trunk


On 07/26/2013 11:46 AM, Aldy Hernandez wrote:
+   Upon return, *INITP will contain the initialization expression,
+   *DECLP will contain the induction variable.
+
+   *REAL_DECLP ????
+   *FOR_BLOCK  ????  */

DECLP is a variable declared in the for-init, if any. REAL_DECLP is the induction variable.

FOR_BLOCK is a bit puzzling. It seems to be a collection of initializations for class induction variables, but it gets add_stmted outside the OMP loop context, and that strikes me as wrong; shouldn't it end up in pre_body? Jakub, can you elaborate on how this works?

Jason


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