From 098aec2482996b862eab9a3d6e493b2d06133c42 Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Tue, 11 Oct 2016 09:47:38 -0600 Subject: fixed sub issue --- include/ir_chill.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/ir_chill.hh') diff --git a/include/ir_chill.hh b/include/ir_chill.hh index bbd7fd5..53d7b05 100755 --- a/include/ir_chill.hh +++ b/include/ir_chill.hh @@ -232,11 +232,12 @@ struct IR_chillArrayRef : public IR_ArrayRef { struct IR_chillLoop : public IR_Loop { int step_size_; + int well_formed; // Discard all non-welformed for loops early in the process chillAST_DeclRefExpr *chillindex; // the loop index variable (I) // was DeclRefExpr chillAST_ForStmt *chillforstmt; - chillAST_Node *chilllowerbound; - chillAST_Node *chillupperbound; + omega::CG_outputRepr *chilllowerbound; + omega::CG_outputRepr *chillupperbound; chillAST_Node *chillbody; // presumably a compound statement, but not guaranteeed IR_CONDITION_TYPE conditionoperator; -- cgit v1.2.3-70-g09d2